Class DocumentProperty
Represents document property.
Inheritance
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.UWP.dll
Syntax
public class DocumentProperty : Object
Properties
ClipboardData
Gets or sets clipboard data value.
Declaration
public ClipboardData ClipboardData { get; set; }
Property Value
Type | Description |
---|---|
ClipboardData | The ClipboardData that specifies the clipboard data. |
Name
Gets the property name. Read-only.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name. |
Value
Gets or sets the property value.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object that specifies the property value. |
ValueType
Gets the type of the value. Read-only.
Declaration
public PropertyValueType ValueType { get; }
Property Value
Type | Description |
---|---|
PropertyValueType | The PropertyValueType member that specifies the type of the value. |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public DocumentProperty Clone()
Returns
Type | Description |
---|---|
DocumentProperty | A new object that is a copy of this instance. |
ToBool()
Returns the boolean value for the property.
Declaration
public bool ToBool()
Returns
Type | Description |
---|---|
System.Boolean | True if the value exists, otherwise false. |
ToByteArray()
Convert the object as byte array.
Declaration
public byte[] ToByteArray()
Returns
Type | Description |
---|---|
System.Byte[] | The System.Byte array. |
ToDateTime()
Convert the object in DateTime.
Declaration
public DateTime ToDateTime()
Returns
Type | Description |
---|---|
System.DateTime | The converted System.DateTime value. |
ToDouble()
Convert the object in double.
Declaration
public double ToDouble()
Returns
Type | Description |
---|---|
System.Double | The converted double value of the property. |
ToFloat()
Convert the object in float value.
Declaration
public float ToFloat()
Returns
Type | Description |
---|---|
System.Single | The converted float value of the property. |
ToInt()
Convert the object in Int value.
Declaration
public int ToInt()
Returns
Type | Description |
---|---|
System.Int32 | The converted integer value of the property. |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |