ContentTypeProperty classe

ContentTypeProperty classe

Rappresenta le informazioni identificative.

Il tipo ContentTypeProperty espone i seguenti membri:

Proprietà

ProprietàDescrizione
nameRestituisce o imposta il nome dell’oggetto.
valueRestituisce o imposta il valore della proprietà del tipo di contenuto.
typeOttiene e imposta il tipo della proprietà.
is_nillableIndica se il valore può essere vuoto.

Esempio

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")

Guarda anche