[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PropertyType

PropertyType Enum

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum PropertyType
Public Enum PropertyType
Examples
IDocumentProperty property = workbook.CustomDocumentProperties.Add("Category", "Report");
PropertyType type = property.Type;
if (type == PropertyType.String)
{
    property.Value = "Summary";
}

Fields

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.