• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormattableFont

Provides access to font formatting properties for a formattable range.

Inheritance
object
AbstractFont
FormattableFont
Implements
INotifyPropertyChanged
Inherited Members
AbstractFont.GetHashCode()
AbstractFont.Equals(object)
AbstractFont.Equals(AbstractFont)
AbstractFont.OnPropertyChanged(string)
AbstractFont.Shadow
AbstractFont.Subscript
AbstractFont.Superscript
AbstractFont.PropertyChanged
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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
AbstractFont.Bold
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
AbstractFont.Charset
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
AbstractFont.Color
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
AbstractFont.Italic
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
AbstractFont.Name
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
AbstractFont.Scheme
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
AbstractFont.Size
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
AbstractFont.Strikethrough
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
AbstractFont.Underline
Remarks

FormattableFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Implements

INotifyPropertyChanged
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX