ComponentOne PDF for .NET
DrawGlyphs Method

C1.C1Pdf.4 Assembly > 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 matrinx 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.
Draws a string by glyphs.
Syntax
'Declaration
 
Public Sub DrawGlyphs( _
   ByVal text As System.String, _
   ByVal glyphs() As System.Short, _
   ByVal widths() As System.Single, _
   ByVal fss As C1.Util.FontSubSet, _
   ByVal fontSize As System.Single, _
   ByVal brush As System.Drawing.Brush, _
   ByVal pt As System.Drawing.PointF, _
   ByVal matrix As System.Drawing.Drawing2D.Matrix, _
   ByVal widthCoeff As System.Single, _
   ByVal vertical As System.Boolean _
) 
public void DrawGlyphs( 
   System.string text,
   System.short[] glyphs,
   System.float[] widths,
   C1.Util.FontSubSet fss,
   System.float fontSize,
   System.Drawing.Brush brush,
   System.Drawing.PointF pt,
   System.Drawing.Drawing2D.Matrix matrix,
   System.float widthCoeff,
   System.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 matrinx 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

Reference

C1PdfDocument Class
C1PdfDocument Members