New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public abstract class FontBase

Inheritance: objectFontBase

Methods

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

C#
public override bool Equals(object obj)
Parameters:objobject

An object to compare with this instance.

Returns:

bool

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

Overrides: object.Equals(object)

Returns the hash code for this instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Properties

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

C#
public bool IsBold { get; }
Property Value:

true if the font is bold; otherwise false.

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

C#
public string Name { get; }
Property Value:

The name.

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

C#
public string OriginalName { get; }
Property Value:

The original name.