ContentTypeProperty class

ContentTypeProperty class

Represents identifier information.

The ContentTypeProperty type exposes the following members:

Properties

PropertyDescription
nameReturns or sets the name of the object.
valueReturns or sets the value of the content type property.
typeGets and sets the type of the property.
is_nillableIndicates whether the value could be empty.

Example

from aspose.cells import Workbook

# Instantiating a Workbook object
workbook = Workbook()
# Add a new property.
workbook.content_type_properties.add("Admin", "Aspose", "text")
# Save the Excel file
workbook.save("book1.xlsm")

See Also