C# Class PdfSharp.Fonts.TrueType.FontDescriptorStock

Global table of TrueType fontdescriptor objects.
Afficher le fichier Open project: GNOME/pdfmod

Méthodes publiques

Méthode Description
CreateDescriptor ( PdfSharp.Drawing.XFont font ) : FontDescriptor

Gets the FontDescriptor identified by the specified FontSelector. If no such objects exists, a new FontDescriptor is created and added to the stock.

CreateDescriptor ( PdfSharp.Drawing.XFontFamily family, XFontStyle style ) : FontDescriptor

Gets the FontDescriptor identified by the specified FontSelector. If no such objects exists, a new FontDescriptor is created and added to the stock.

CreateDescriptor ( string idName, byte fontData ) : FontDescriptor
FindDescriptor ( PdfSharp.Fonts.TrueType.FontSelector selector ) : FontDescriptor

Gets the FontDescriptor identified by the specified FontSelector. Returns null if no such objects exists.

Private Methods

Méthode Description
FontDescriptorStock ( ) : System

Method Details

CreateDescriptor() public méthode

Gets the FontDescriptor identified by the specified FontSelector. If no such objects exists, a new FontDescriptor is created and added to the stock.
public CreateDescriptor ( PdfSharp.Drawing.XFont font ) : FontDescriptor
font PdfSharp.Drawing.XFont
Résultat FontDescriptor

CreateDescriptor() public méthode

Gets the FontDescriptor identified by the specified FontSelector. If no such objects exists, a new FontDescriptor is created and added to the stock.
public CreateDescriptor ( PdfSharp.Drawing.XFontFamily family, XFontStyle style ) : FontDescriptor
family PdfSharp.Drawing.XFontFamily
style XFontStyle
Résultat FontDescriptor

CreateDescriptor() public méthode

public CreateDescriptor ( string idName, byte fontData ) : FontDescriptor
idName string
fontData byte
Résultat FontDescriptor

FindDescriptor() public méthode

Gets the FontDescriptor identified by the specified FontSelector. Returns null if no such objects exists.
public FindDescriptor ( PdfSharp.Fonts.TrueType.FontSelector selector ) : FontDescriptor
selector PdfSharp.Fonts.TrueType.FontSelector
Résultat FontDescriptor