Class CellFormat
Represents the CellFormat class.
Implements
Inherited Members
Namespace: Syncfusion.EJ.DocumentEditor
Assembly: Syncfusion.EJ.DocumentEditor.dll
Syntax
public class CellFormat : BaseNode, ISerializable
Constructors
CellFormat()
Initializes a new instance of the CellFormat class.
Declaration
public CellFormat()
Properties
Borders
Gets or sets the Borders of the TableCellAdv.
Declaration
public Borders Borders { get; set; }
Property Value
Type | Description |
---|---|
Borders |
BottomMargin
Gets or sets the bottom margin of the TableCellAdv.
Declaration
public double BottomMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
CellWidth
Gets or sets the width of the TableCellAdv.
Declaration
public double CellWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ColumnSpan
Gets or sets the number of columns that the TableCellAdv should span.
Declaration
public int ColumnSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsSamePaddingAsTable
Check whether it is same padding a Table
Declaration
public bool IsSamePaddingAsTable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LeftMargin
Gets or sets the left margin of the TableCellAdv.
Declaration
public double LeftMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PreferredWidth
Gets or sets the preferred width of the TableCellAdv.
Declaration
public double PreferredWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PreferredWidthType
Gets or sets the WidthType of the TableCellAdv
Declaration
public WidthType PreferredWidthType { get; set; }
Property Value
Type | Description |
---|---|
WidthType |
RightMargin
Gets or sets the right margin of the TableCellAdv.
Declaration
public double RightMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RowSpan
Gets or sets the number of rows that the TableCellAdv should span.
Declaration
public int RowSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Shading
Gets or sets the Shading of the TableCellAdv.
Declaration
public Shading Shading { get; set; }
Property Value
Type | Description |
---|---|
Shading |
TopMargin
Gets or sets the top margin of the TableCellAdv.
Declaration
public double TopMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
VerticalAlignment
Gets or sets the CellVerticalAlignment of the TableCellAdv.
Declaration
public CellVerticalAlignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
CellVerticalAlignment |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo to populate with data. |
System.Runtime.Serialization.StreamingContext | context | The destination (see System.Runtime.Serialization.StreamingContext) for this serialization. |
Exceptions
Type | Condition |
---|---|
System.Security.SecurityException |