[]
        
(Showing Draft Content)

C1.C1Pdf.C1PdfDocument.DrawGlyphs

DrawGlyphs Method

DrawGlyphs(string, short[], float[], FontSubSet, float, Brush, PointF, Matrix, float, bool)

Draws a string by glyphs.

Declaration
public void DrawGlyphs(string text, short[] glyphs, float[] widths, FontSubSet fss, float fontSize, Brush brush, PointF pt, Matrix matrix, float widthCoeff, bool vertical)
Parameters
Type Name Description
string text

The text string.

short[] glyphs

The glyphs array for the text string.

float[] widths

The widths array for the text string.

FontSubSet fss

The font subset for text drawing.

float fontSize

The font size for text drawing.

Brush brush

The object that determines the color for text drawing.

PointF pt

The start point for text drawing.

Matrix matrix

The translate matrix for text drawing.

float widthCoeff

The width coefficient applied to characters. The default is 1.0, use 2.0 for double width and so on.

bool vertical

The vertical flag for text drawing. Common for CJK texts.