DocumentProperty Class

DocumentProperty class

Represents a custom or built-in document property.


type DocumentProperty struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetNameReturns the name of the property.
GetValueGets or sets the value of the property.
SetValueGets or sets the value of the property.
IsLinkedToContentIndicates whether this property is linked to content
GetSourceThe linked content source.
GetTypeGets the data type of the property.
IsGeneratedNameReturns true if this property does not have a name in the OLE2 storageand a unique name was generated only for the public API.
ToStringReturns the property value as a string.
ToIntReturns the property value as integer.
ToDoubleReturns the property value as double.
ToDateTimeReturns the property value as DateTime in local timezone.
ToBoolReturns the property value as bool.