Search Results for

    Show / Hide Table of Contents

    Class FontInfoProvider

    Inheritance
    object
    FontInfoProvider
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.dll
    Syntax
    public abstract class FontInfoProvider

    Constructors

    FontInfoProvider()

    Declaration
    protected FontInfoProvider()

    Methods

    FillFontData(PDFFont, TTFontData)

    Declaration
    public abstract void FillFontData(PDFFont pdfFont, TTFontData fontData)
    Parameters
    Type Name Description
    PDFFont pdfFont
    TTFontData fontData

    GetCharWidth(PDFFont, TTFontData, char)

    Declaration
    public abstract double GetCharWidth(PDFFont pdfFont, TTFontData fontData, char charCode)
    Parameters
    Type Name Description
    PDFFont pdfFont
    TTFontData fontData
    char charCode
    Returns
    Type Description
    double

    GetFontStream(TTFontData)

    Declaration
    public abstract MemoryStream GetFontStream(TTFontData data)
    Parameters
    Type Name Description
    TTFontData data
    Returns
    Type Description
    MemoryStream

    GetGlyphWidth(PDFFont, TTFontData, int, char)

    Declaration
    public abstract double GetGlyphWidth(PDFFont pdfFont, TTFontData fontData, int glyph, char charC)
    Parameters
    Type Name Description
    PDFFont pdfFont
    TTFontData fontData
    int glyph
    char charC
    Returns
    Type Description
    double

    GetKerning(PDFFont, TTFontData, char, char)

    Declaration
    public abstract int GetKerning(PDFFont pdfFont, TTFontData fontData, char leftChar, char rightChar)
    Parameters
    Type Name Description
    PDFFont pdfFont
    TTFontData fontData
    char leftChar
    char rightChar
    Returns
    Type Description
    int

    TextExtent(string, ref Rectangle, PDFFont, TTFontData, bool, bool, double)

    Declaration
    public abstract List<LineInfo> TextExtent(string Text, ref Rectangle Rect, PDFFont pdfFont, TTFontData fontData, bool wordwrap, bool singleline, double FontSize)
    Parameters
    Type Name Description
    string Text
    Rectangle Rect
    PDFFont pdfFont
    TTFontData fontData
    bool wordwrap
    bool singleline
    double FontSize
    Returns
    Type Description
    List<LineInfo>
    In this article
    Back to top Generated by DocFX