Class Paddings
Represents the cell paddings.
Implements
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class Paddings : FormatBase, IXDLSSerializable
Fields
BottomKey
Specifies the constant value for bottom key.
Declaration
public const int BottomKey = 3
Field Value
Type | Description |
---|---|
System.Int32 |
LeftKey
Specifies the constant value for left key.
Declaration
public const int LeftKey = 1
Field Value
Type | Description |
---|---|
System.Int32 |
RightKey
Specifies the constant value for right key.
Declaration
public const int RightKey = 4
Field Value
Type | Description |
---|---|
System.Int32 |
TopKey
Specifies the constant value for top key.
Declaration
public const int TopKey = 2
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
All
Sets the padding values for all sides of the cell.
Declaration
public float All { set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies the padding value for left, right, top and bottom. |
Bottom
Gets or sets the bottom padding value for the cell in points.
Declaration
public float Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies bottom padding value. |
Left
Gets or sets the left padding value for the cell in points.
Declaration
public float Left { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies left padding value. |
Right
Gets or sets the right padding value for the cell in points.
Declaration
public float Right { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies right padding value. |
Top
Gets or sets the top padding value for the cell in points.
Declaration
public float Top { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies top padding value. |
Methods
GetDefValue(Int32)
Returns the default values.
Declaration
protected override object GetDefValue(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | The integer that specifies the key. |
Returns
Type | Description |
---|---|
System.Object | An object that specifies the default value. |
Overrides
InitXDLSHolder()
Registers child objects in XDSL holder.
Declaration
protected override void InitXDLSHolder()
Overrides
OnChange(FormatBase, Int32)
Occurs on format change.
Declaration
protected override void OnChange(FormatBase format, int propertyKey)
Parameters
Type | Name | Description |
---|---|---|
FormatBase | format | The FormatBase object. |
System.Int32 | propertyKey | The integer that represents the property key. |
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Reads object data from xml attributes.
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader | The IXDLSAttributeReader object. |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Writes object data as xml attributes.
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer | The IXDLSAttributeWriter object. |