Working with ContentTypeProperties
Contents
[
Hide
]
Aspose.Cells provides Workbook.ContentTypeProperties.Add method to add custom ContentTypeProperties to an excel file. You may also make the property optional by setting the ContentTypeProperty.IsNillable property to true. The following code snippet demonstrates adding optional custom ContentTypeProperties to an excel file. The following image shows both properties that were added by the sample code.
The output file generated by the sample code is attached for reference.
Sample Code