[]
Specifies the data type of a document property.
Use this enum with Type to determine how a built-in or custom document property value is stored.
public enum PropertyType
Public Enum PropertyType
IDocumentProperty property = workbook.CustomDocumentProperties.Add("Category", "Report");
PropertyType type = property.Type;
if (type == PropertyType.String)
{
property.Value = "Summary";
}
| Name | Description |
|---|---|
| Boolean | The property is a boolean value. |
| DateTime | The property stores a date and time value. |
| Double | The property is a double value. |
| Number | The property is an integer value. |
| String | The property is a string value. |