PdfSharp-GDI  1.31.7289
PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector Class Reference

A collection of information that uniquely identifies a particular PDF font. ... more docu... TODO Two PDF fonts are equal if and only if their font selector objects are equal. More...

Public Member Functions

 FontSelector (XFont font)
 Initializes a new instance of PdfFontSelector from an XFont. More...
 
 FontSelector (string name)
 Initializes a new instance of PdfFontSelector from a unique name. More...
 
 FontSelector (XFontFamily family, XFontStyle style)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 Returns a string for diagnostic purposes only. More...
 

Static Public Member Functions

static bool operator== (FontSelector selector1, FontSelector selector2)
 
static bool operator!= (FontSelector selector1, FontSelector selector2)
 

Properties

string Name [get]
 Gets the (generated) resource name of the font. In our own PDF files equal fonts share the same resource name in all contents streams. More...
 
XFontStyle Style [get]
 Gets the style. Contains only flags that effects the font face and are available for the specified font. More...
 
FontType FontType [get]
 Gets the type of the font (TrueType with Ansi Encoding or CID font). More...
 

Detailed Description

A collection of information that uniquely identifies a particular PDF font. ... more docu... TODO Two PDF fonts are equal if and only if their font selector objects are equal.

Constructor & Destructor Documentation

◆ FontSelector() [1/3]

PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.FontSelector ( XFont  font)

Initializes a new instance of PdfFontSelector from an XFont.

◆ FontSelector() [2/3]

PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.FontSelector ( string  name)

Initializes a new instance of PdfFontSelector from a unique name.

◆ FontSelector() [3/3]

PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.FontSelector ( XFontFamily  family,
XFontStyle  style 
)

Member Function Documentation

◆ Equals()

override bool PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.Equals ( object  obj)

◆ GetHashCode()

override int PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.GetHashCode ( )

◆ operator!=()

static bool PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.operator!= ( FontSelector  selector1,
FontSelector  selector2 
)
static

◆ operator==()

static bool PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.operator== ( FontSelector  selector1,
FontSelector  selector2 
)
static

◆ ToString()

override string PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.ToString ( )

Returns a string for diagnostic purposes only.

Property Documentation

◆ FontType

FontType PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.FontType
get

Gets the type of the font (TrueType with Ansi Encoding or CID font).

◆ Name

string PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.Name
get

Gets the (generated) resource name of the font. In our own PDF files equal fonts share the same resource name in all contents streams.

◆ Style

XFontStyle PdfSharp.Pdf.Advanced.PdfFontTable.FontSelector.Style
get

Gets the style. Contains only flags that effects the font face and are available for the specified font.

The style.


The documentation for this class was generated from the following file: