TDocumentCustomProperty Record
Encapsulates a custom property of an Excel file.
Syntax
Unit: FlexCel.Core
TDocumentCustomProperty = record;
Methods
| Name |
Description |
| Create |
Overloaded Create(string, string, Integer, string, TDocumentCustomPropertyType, string) Create(string, string, Integer, string, TDocumentCustomPropertyType, string, string)
|
| Equals |
Returns true if 2 objects have the same data.
|
| GetHashCode |
The hashcode of the object.
|
Operators
| Name |
Description |
| Equality |
Adapts the = operator so it returns true when both instances have the same values. |
| Inequality |
Adapts the <> operator so it returns true when both instances have different values. |
Properties
| Name |
Description |
| Name |
Name of the custom property.
|
| FmtId |
GUID for the property. In Excel this value is always {D5CDD505-2E9C-101B-9397-08002B2CF9AE} You can leave this null, in this case {D5CDD505-2E9C-101B-9397-08002B2CF9AE} will be used.
|
| PId |
Numeric Id for the property. This value is for OLE compatibility and must be unique.
|
| LinkTarget |
Specifies the name of a bookmark in the table or named cell from which the value of this custom document property should be extracted. You can normally leave this value null.
|
| PropType |
Type of the property. Note that while you can define any variant, Excel only recognizes the types in this enumeration.
|
| Value |
Value of the property. You must ensure it is valid for the proptype.
|
| PropTypeStr |
Used for unknown prop types, it handles the string with the name. You shouldn't need to use this.
|
| Empty |
Returns an empty property |