Class CellFormat
Represents a CellFormat.
Inherited Members
Namespace: DRIT.Document.Tables
Assembly: DRIT.Document.dll
Syntax
public class CellFormat
Constructors
CellFormat()
Initializes a new instance of the CellFormat class.
Declaration
public CellFormat()
Properties
Borders
Gets or sets borders.
Declaration
public BorderCollection Borders { get; }
Property Value
| Type | Description |
|---|---|
| BorderCollection |
BottomPadding
Returns or sets the amount of space (in points) to add below the contents of cell.
Declaration
public double BottomPadding { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
FitText
If true, fits text in the cell, compressing each paragraph to the width of the cell.
Declaration
public bool FitText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
GridSpan
Gets or sets the number of grid columns spanned by the cell.
Declaration
public int GridSpan { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HorizontalMerge
Specifies how the cell is merged horizontally with other cells in the row.
Declaration
public CellMerge HorizontalMerge { get; set; }
Property Value
| Type | Description |
|---|---|
| CellMerge |
LeftPadding
Returns or sets the amount of space (in points) to add to the left of the contents of cell.
Declaration
public double LeftPadding { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Orientation
Gets or sets orientation.
Declaration
public TextOrientation Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| TextOrientation |
PreferredWidth
Returns or sets the preferred width of the cell.
Declaration
public PreferredWidth PreferredWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| PreferredWidth |
RightPadding
Gets or sets right padding.
Declaration
public double RightPadding { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Shading
Gets or sets shading.
Declaration
public Shading Shading { get; }
Property Value
| Type | Description |
|---|---|
| Shading |
TopPadding
Returns or sets the amount of space (in points) to add above the contents of cell.
Declaration
public double TopPadding { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
VerticalAlignment
Gets vertical alignment.
Declaration
public CellVerticalAlignment VerticalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| CellVerticalAlignment |
VerticalMerge
Gets or sets vertical merge.
Declaration
public CellMerge VerticalMerge { get; set; }
Property Value
| Type | Description |
|---|---|
| CellMerge |
Width
Gets or sets width.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
WrapText
Gets or sets wrap text.
Declaration
public bool WrapText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |