ICellFormatting Interface

Represents a cell formatting info.
Public Interface ICellFormatting 
Inherits IBasicCellFormatting
This language is not supported or no code example is available.
public interface ICellFormatting : IBasicCellFormatting
This language is not supported or no code example is available.
Name Description
Public property BackgroundColor Gets or sets the background color.
Public property Font Gets or sets the cell font. May be null reference (Nothing in Visual Basic), which means that the font was not explicitly set yet and the default one will be displayed. (inherited from IBasicCellFormatting).
Public property ForeColor Gets or sets the text color. (inherited from IBasicCellFormatting).
Public property HorizontalAlign Gets or sets the horizontal text alignment. (inherited from IBasicCellFormatting).
Public property MergeCells Gets or sets a value indicating whether two or more selected cells are combined into a single cell. (inherited from IBasicCellFormatting).
Public property NumberFormat Gets or sets the cell number format (in the culture-independent US format).
Public property Orientation Gets or sets the text orientation in degrees. (inherited from IBasicCellFormatting).
Public property PatternColor Gets or sets the pattern color.
Public property PatternStyle Gets or sets the pattern style.
Public property ShrinkToFit Gets or sets a value indicating whether to automatically reduce the font size until text fits in a cell. (inherited from IBasicCellFormatting).
Public property Subscript Gets or sets a value indicating whether subscript is applied to text. (inherited from IBasicCellFormatting).
Public property Superscript Gets or sets a value indicating whether superscript is applied to text. (inherited from IBasicCellFormatting).
Public property UnderlineStyle Gets or sets the font underline style. (inherited from IBasicCellFormatting).
Public property VerticalAlign Gets or sets the vertical text alignment. (inherited from IBasicCellFormatting).
Public property WrapText Gets or sets a value indicating whether text is wrapped so it appears on multiple lines in a cell. The number of wrapped lines depends on the width of the column and the length of the cell contents. (inherited from IBasicCellFormatting).
Top
Methods
 
Name Description
Public method CopyTo(ICellFormatting) Copies this formatting to another existing formating.
Top
Version
 
Available since QDV 7.18.655.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition