Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Text Namespace / FontTrueType Class
Properties Methods

In This Topic
    FontTrueType Class Members
    In This Topic

    The following tables list the members exposed by FontTrueType.

    Public Properties
     NameDescription
    Public PropertyGets or sets the PostScript name of the font. (Inherited from GrapeCity.Documents.Pdf.Text.Font)
    Public PropertyGets the FontDescriptor object describing the font's metrics. (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    Public PropertyGets a value indicating whether the font is embedded. (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    Public PropertyGets the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    Public PropertyGets the value of BaseFont entry. (Inherited from GrapeCity.Documents.Pdf.Text.Font)
    Top
    Public Methods
     NameDescription
    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).

    (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    Public MethodReturns the stream containing the embedded font data, returns null if the font is not embedded, the stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Text.Font)
    Public MethodExtracts the attributes of the current font. If a specific attribute cannot be determined, the corresponding output value is set to null. (Inherited from GrapeCity.Documents.Pdf.Text.Font)
    Public MethodGets an FontDescriptor object that describes the font. (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    Public MethodGets the System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodRemoves the embedded font data.

    Please note that a PDF may display incorrectly after removing an embedded font's data. Use with caution.

    (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    Public MethodTries to convert a Unicode value to the character's PDF code.

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

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

    (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    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.

    (Inherited from GrapeCity.Documents.Pdf.Text.FontSimple)
    Top
    See Also