Class
FontBase

Base type for fonts used in fixed documents; manages encoding, glyph IDs, metrics, and rendering characteristics for PDF output.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Fonts

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public abstract class FontBase

Inheritance: objectFontBase

Properties

IsBold

Indicates whether the font has bold weight, considering the actual source and any simulation.

Declaration

cs-api-definition
public bool IsBold { get; }

Property Value

bool

true if the font is bold; otherwise false.

Name

The font name as stored in the document, used to identify the resource and resolve rendering behavior.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

The name.

OriginalName

The original font family name reported by the underlying font source.

Declaration

cs-api-definition
public string OriginalName { get; }

Property Value

string

The original name.

Methods

Equals(object)

Returns a value indicating whether this instance is equal to a specified object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

An object to compare with this instance.

Returns

bool

true if obj equals the value of this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns the hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()