Class RangeFont
Provides access to font formatting properties for a range of cells.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RangeFont
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
Properties
Bold
Gets or sets whether the font is bold.
Declaration
public bool? Bold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
Family
Specifies the font family name (e.g., "Arial", "Calibri").
Declaration
public string Family { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
Italic
Gets or sets whether the font is italic.
Declaration
public bool? Italic { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
Name
Specifies the font family name (e.g., "Arial", "Calibri").
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
Size
Specifies the font size in points.
Declaration
public double? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
SpreadsheetColor
Specifies the font color.
Declaration
public SpreadsheetColor SpreadsheetColor { get; set; }
Property Value
| Type | Description |
|---|---|
| SpreadsheetColor |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.
Underline
Specifies the underline style.
Declaration
public UnderlineType? Underline { get; set; }
Property Value
| Type | Description |
|---|---|
| UnderlineType? |
Remarks
RangeFont is obtained through the Font property and
allows getting and setting font properties for an entire range.