Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Text Namespace / Font Class
Properties Methods

In This Topic
    Font Class Members
    In This Topic

    The following tables list the members exposed by Font.

    Public Properties
    Public PropertyGets or sets the PostScript name of the font.  
    Public PropertyGets a value indicating whether the font is embedded.  
    Public Methods
    Public MethodGets a GrapeCity.Documents.Text.Font object created from the embedded font data.

    Note that this method will return null if the font is not embedded or does not support this operation (e.g. Type3 fonts).

    Public MethodExtracts the attributes of the current font. If a specific attribute cannot be determined, the corresponding output value is set to null.  
    Public MethodGets an FontDescriptor object that describes the font.  
    Public MethodConverts a character's PDF code to its Unicode value.

    Note that this method can fail if the font does not contain the necessary info for the conversion.

    Note also that this method can be slow as it uses large font tables like /Encoding, /ToUnicode etc., so the returned results better be cached by the caller.

    See Also