PsDocument.FillAndStrokeText

FillAndStrokeText(string, Font, float, float, Brush, Pen)

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

public void FillAndStrokeText(string text, Font font, float x, float y, Brush fillPaint, Pen stroke)
ParameterTypeDescription
textStringThe text to add.
fontFontSystem font that will be used to draw text.
xSingleX coordinate for text origin.
ySingleY coordinate for text origin.
fillPaintBrushThe fill used for painting glyphs interior.
strokePenThe stroke used for drawing glyphs contours.

See Also


FillAndStrokeText(string, float[], Font, float, float, Brush, Pen)

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

public void FillAndStrokeText(string text, float[] advances, Font font, float x, float y, 
    Brush fillPaint, Pen stroke)
ParameterTypeDescription
textStringThe text to add.
advancesSingle[]An array of glyphs width. It’s length must comply with the number of glyphs in the string.
fontFontSystem font that will be used to draw text.
xSingleX coordinate for text origin.
ySingleY coordinate for text origin.
fillPaintBrushThe fill used for painting glyphs interior.
strokePenThe stroke used for drawing glyphs contours.

See Also


FillAndStrokeText(string, DrFont, float, float, Brush, Pen)

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

public void FillAndStrokeText(string text, DrFont drFont, float x, float y, Brush fillPaint, 
    Pen stroke)
ParameterTypeDescription
textStringThe text to add.
drFontDrFontDrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xSingleX coordinate for text origin.
ySingleY coordinate for text origin.
fillPaintBrushThe fill used for painting glyphs interior.
strokePenThe stroke used for drawing glyphs contours.

See Also


FillAndStrokeText(string, float[], DrFont, float, float, Brush, Pen)

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

public void FillAndStrokeText(string text, float[] advances, DrFont drFont, float x, float y, 
    Brush fillPaint, Pen stroke)
ParameterTypeDescription
textStringThe text to add.
advancesSingle[]An array of glyphs width. It’s length must comply with the number of glyphs in the string.
drFontDrFontDrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xSingleX coordinate for text origin.
ySingleY coordinate for text origin.
fillPaintBrushThe fill used for painting glyphs interior.
strokePenThe stroke used for drawing glyphs contours.

See Also