C# Class PdfSharp.Fonts.TrueType.FontDescriptorStock.FontSelector

A collection of information that uniquely idendifies a particular font. Used to map XFont to PdfFont. There is a one to one relationship between a FontSelector and a TrueType/OpenType file.
显示文件 Open project: GNOME/pdfmod

Public Methods

Method Description
Equals ( object obj ) : bool
FontSelector ( PdfSharp.Drawing.XFont font ) : System
FontSelector ( PdfSharp.Drawing.XFontFamily family, XFontStyle style ) : System
FontSelector ( string idName ) : System
GetHashCode ( ) : int
ToString ( ) : string

Returns a string for diagnostic purposes only.

operator ( ) : bool

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FontSelector() public method

public FontSelector ( PdfSharp.Drawing.XFont font ) : System
font PdfSharp.Drawing.XFont
return System

FontSelector() public method

public FontSelector ( PdfSharp.Drawing.XFontFamily family, XFontStyle style ) : System
family PdfSharp.Drawing.XFontFamily
style XFontStyle
return System

FontSelector() public method

public FontSelector ( string idName ) : System
idName string
return System

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

Returns a string for diagnostic purposes only.
public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool