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

Class AbstractFont

Represents the abstract font class used by the spreadsheet model.

Inheritance
object
AbstractFont
Font
FormattableFont
FormattingCellFont
Implements
INotifyPropertyChanged
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class AbstractFont : INotifyPropertyChanged

Constructors

AbstractFont()

Initializes a new AbstractFont for the supplied workbook data.

Declaration
public AbstractFont()

AbstractFont(AbstractFont)

Initializes a new AbstractFont for the supplied workbook data.

Declaration
protected AbstractFont(AbstractFont other)
Parameters
Type Name Description
AbstractFont other

Properties

Bold

Displays characters in bold face font style.

Declaration
public virtual bool Bold { get; set; }
Property Value
Type Description
bool

Charset

Exposes the charset associated with AbstractFont.

Declaration
public virtual int? Charset { get; set; }
Property Value
Type Description
int?

Color

Exposes the color associated with AbstractFont.

Declaration
public virtual SpreadsheetColor Color { get; set; }
Property Value
Type Description
SpreadsheetColor

Italic

Exposes the italic associated with AbstractFont.

Declaration
public virtual bool Italic { get; set; }
Property Value
Type Description
bool

The italic returned by the operation.

Name

Exposes the name associated with AbstractFont.

Declaration
public abstract string Name { get; set; }
Property Value
Type Description
string

Scheme

Exposes the scheme associated with AbstractFont.

Declaration
public virtual FontSchemeType Scheme { get; set; }
Property Value
Type Description
FontSchemeType

Shadow

Exposes the shadow associated with AbstractFont.

Declaration
public bool Shadow { get; set; }
Property Value
Type Description
bool

Size

Exposes the size associated with AbstractFont.

Declaration
public virtual double Size { get; set; }
Property Value
Type Description
double

Strikethrough

Exposes the strikethrough associated with AbstractFont.

Declaration
public virtual bool Strikethrough { get; set; }
Property Value
Type Description
bool

Subscript

Exposes the subscript associated with AbstractFont.

Declaration
public virtual bool Subscript { get; set; }
Property Value
Type Description
bool

The subscript returned by the operation.

Superscript

Exposes the superscript associated with AbstractFont.

Declaration
public bool Superscript { get; set; }
Property Value
Type Description
bool

The superscript returned by the operation.

Underline

Specifies the underline applied for the font.

Declaration
public virtual SpreadsheetUnderline Underline { get; set; }
Property Value
Type Description
SpreadsheetUnderline

Methods

Equals(AbstractFont)

Exposes the equals associated with AbstractFont.

Declaration
public bool Equals(AbstractFont f)
Parameters
Type Name Description
AbstractFont f

The f used by the operation.

Returns
Type Description
bool

The equals returned by the operation.

Equals(object)

Exposes the equals associated with AbstractFont.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The obj used by the operation.

Returns
Type Description
bool

The equals returned by the operation.

Overrides
object.Equals(object)

GetHashCode()

Retrieves the requested hash code from AbstractFont.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The get hash code returned by the operation.

Overrides
object.GetHashCode()

OnPropertyChanged(string)

Exposes the on property changed associated with AbstractFont.

Declaration
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
Type Name Description
string propertyName

The property name used by the operation.

Events

PropertyChanged

Exposes the property changed event handler associated with AbstractFont.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

The property changed event handler returned by the operation.

Implements

INotifyPropertyChanged
Back to top

DR-IT Software documentation

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

Generated by DocFX