IBasicCellFormatting Interface

Represents a cell basic formatting info.
Public Interface IBasicCellFormatting
This language is not supported or no code example is available.
public interface IBasicCellFormatting
This language is not supported or no code example is available.
Name Description
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.
Public property ForeColor Gets or sets the text color.
Public property HorizontalAlign Gets or sets the horizontal text alignment.
Public property MergeCells Gets or sets a value indicating whether two or more selected cells are combined into a single cell.
Public property Orientation Gets or sets the text orientation in degrees.
Public property ShrinkToFit Gets or sets a value indicating whether to automatically reduce the font size until text fits in a cell.
Public property Subscript Gets or sets a value indicating whether subscript is applied to text.
Public property Superscript Gets or sets a value indicating whether superscript is applied to text.
Public property UnderlineStyle Gets or sets the font underline style.
Public property VerticalAlign Gets or sets the vertical text alignment.
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.
Top
Methods
 
Name Description
Public method CopyTo(IBasicCellFormatting) Copies this formatting to another existing formating.
Top
Remarks
 
This class stores only a limited set of formatting information, such as font and alignment. This limited formatting is used, for example, in column header cells.
Version
 
Available since QDV 7.18.655.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition