ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / DrawGlyphs Method
The text string.
The glyphs array for the text string.
The widths array for the text string.
The font subset for text drawing.
The font size for text drawing.
The object that determines the color for text drawing.
The start point for text drawing.
The translate matrix for text drawing.
The width coefficient applied to characters. The default is 1.0, use 2.0 for double width and so on.
The vertical flag for text drawing. Common for CJK texts.

In This Topic
    DrawGlyphs Method (C1PdfDocument)
    In This Topic
    Draws a string by glyphs.
    Syntax
    'Declaration
     
    
    Public Sub DrawGlyphs( _
       ByVal text As String, _
       ByVal glyphs() As Short, _
       ByVal widths() As Single, _
       ByVal fss As C1.Util.FontSubSet, _
       ByVal fontSize As Single, _
       ByVal brush As Brush, _
       ByVal pt As PointF, _
       ByVal matrix As Matrix, _
       ByVal widthCoeff As Single, _
       ByVal vertical As Boolean _
    ) 
    public void DrawGlyphs( 
       string text,
       short[] glyphs,
       float[] widths,
       C1.Util.FontSubSet fss,
       float fontSize,
       Brush brush,
       PointF pt,
       Matrix matrix,
       float widthCoeff,
       bool vertical
    )

    Parameters

    text
    The text string.
    glyphs
    The glyphs array for the text string.
    widths
    The widths array for the text string.
    fss
    The font subset for text drawing.
    fontSize
    The font size for text drawing.
    brush
    The object that determines the color for text drawing.
    pt
    The start point for text drawing.
    matrix
    The translate matrix for text drawing.
    widthCoeff
    The width coefficient applied to characters. The default is 1.0, use 2.0 for double width and so on.
    vertical
    The vertical flag for text drawing. Common for CJK texts.
    See Also