Table of Contents

Class XGlyphTypeface

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Specifies a physical font face that corresponds to a font file on the disk or in memory.

public sealed class XGlyphTypeface
Inheritance
XGlyphTypeface
Inherited Members

Constructors

XGlyphTypeface(XFontSource)

Initializes a new instance of the XGlyphTypeface class by a font source.

public XGlyphTypeface(XFontSource fontSource)

Parameters

fontSource XFontSource

Properties

DisplayName

Gets the English display name of the font, for example "Arial italic".

public string DisplayName { get; }

Property Value

string

FamilyName

Gets the English family name of the font, for example "Arial".

public string FamilyName { get; }

Property Value

string

FontFamily

Gets the font family of this glyph typeface.

public XFontFamily FontFamily { get; }

Property Value

XFontFamily

FontSource

Gets the font source of this glyph typeface.

public XFontSource FontSource { get; }

Property Value

XFontSource

IsBold

Gets a value indicating whether the font weight is bold.

public bool IsBold { get; }

Property Value

bool

IsItalic

Gets a value indicating whether the font style is italic.

public bool IsItalic { get; }

Property Value

bool

StyleName

Gets the English subfamily name of the font, for example "Bold".

public string StyleName { get; }

Property Value

string

StyleSimulations

Gets a value indicating whether the style bold, italic, or both styles must be simulated.

public XStyleSimulations StyleSimulations { get; }

Property Value

XStyleSimulations