public class ContentTypeProperty
extends java.lang.Object
Example
//Instantiating a Workbook object
Workbook workbook = new Workbook();
//Add a new property.
workbook.getContentTypeProperties().add("Admin", "Aspose", "text");
//Save the Excel file
workbook.save("book1.xlsm");
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns or sets the name of the object.
|
java.lang.String |
getType()
Gets the type of the property.
|
java.lang.String |
getValue()
Returns or sets the value of the content type property.
|
boolean |
isNillable()
Indicates whether the value could be empty.
|
void |
setName(java.lang.String value)
Returns or sets the name of the object.
|
void |
setNillable(boolean value)
Indicates whether the value could be empty.
|
void |
setType(java.lang.String value)
Sets the type of the property.
|
void |
setValue(java.lang.String value)
Returns or sets the value of the content type property.
|
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getType()
public void setType(java.lang.String value)
public boolean isNillable()
public void setNillable(boolean value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.