CustomDocumentPropertyCollection Class

CustomDocumentPropertyCollection class

A collection of custom document properties.


type CustomDocumentPropertyCollection struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewCustomDocumentPropertyCollectionConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
Add_String_StringCreates a new custom document property of the PropertyType.String data type.
Add_String_IntCreates a new custom document property of the PropertyType.Number data type.
Add_String_DateCreates a new custom document property of the PropertyType.DateTime data type.
Add_String_BoolCreates a new custom document property of the PropertyType.Boolean data type.
Add_String_DoubleCreates a new custom document property of the PropertyType.Float data type.
AddLinkToContentCreates a new custom document property which links to content.
UpdateLinkedPropertyValueUpdates values of all custom properties that are linked to content(usecell value of linked range to update value of custom property).
UpdateLinkedRangeUpdates all ranges that are linked to custom properties(use the value ofcustom document property to update cell value of linked range).
Get_IntReturns a DocumentProperty object by index.
ContainsReturns true if a property with the specified name exists in the collection.
IndexOfGets the index of a property by name.
RemoveRemoves a property with the specified name from the collection.
RemoveAtRemoves a property at the specified index.
Get_StringReturns a DocumentProperty object by the name of the property.
GetCount