TDocumentCustomProperty Structure
Encapsulates a custom property of an Excel file.
Syntax
Namespace: FlexCel.Core
public struct TDocumentCustomProperty
Constructors
Name
Description
TDocumentCustomProperty
Overloaded TDocumentCustomProperty(String, String, Int32, String, TDocumentCustomPropertyType, String) TDocumentCustomProperty(String, String, Int32, String, TDocumentCustomPropertyType, String, String)
Methods
Name
Description
Equals
Returns true if 2 objects have the same data.
GetHashCode
The hashcode of the object.
Operators
Name
Description
Equality
Returns true if 2 structures have the same values.
Inequality
Returns true if 2 structures 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