Class FormattableFont
Provides access to font formatting properties for a formattable range.
Implements
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class FormattableFont : AbstractFont, INotifyPropertyChanged
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Constructors
FormattableFont(AbstractFormattable)
Initializes a new FormattableFont for the supplied workbook data.
Declaration
public FormattableFont(AbstractFormattable formattable)
Parameters
| Type | Name | Description |
|---|---|---|
| AbstractFormattable | formattable |
Remarks
FormattableFont 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 override bool Bold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Charset
Exposes the charset associated with FormattableFont.
Declaration
public override int? Charset { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The charset returned by the operation. |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Color
Exposes the color associated with FormattableFont.
Declaration
public override SpreadsheetColor Color { get; set; }
Property Value
| Type | Description |
|---|---|
| SpreadsheetColor | The color returned by the operation. |
Overrides
Remarks
FormattableFont 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 override bool Italic { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Name
Exposes the name associated with FormattableFont.
Declaration
public override string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name returned by the operation. |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Scheme
Specifies the font scheme type (Major or Minor).
Declaration
public override FontSchemeType Scheme { get; set; }
Property Value
| Type | Description |
|---|---|
| FontSchemeType |
Overrides
Remarks
FormattableFont 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 override double Size { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Strikethrough
Gets or sets whether the font has strikethrough.
Declaration
public override bool Strikethrough { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.
Underline
Specifies the underline style.
Declaration
public override SpreadsheetUnderline Underline { get; set; }
Property Value
| Type | Description |
|---|---|
| SpreadsheetUnderline |
Overrides
Remarks
FormattableFont is obtained through the Font property
and allows getting and setting font properties for an entire range.