PDF File Writer Class Library - Author Uzi Granot
PdfContentsDrawText Method (PdfFont, Double, Double, Double, TextJustify, Double, Color, Color, String) |
Draw text with special effects
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public double DrawText( PdfFont Font, double FontSize, double PosX, double PosY, TextJustify Justify, double OutlineWidth, Color StrokingColor, Color NonStokingColor, string Text )
Parameters
- Font
- Type: PdfFileWriterPdfFont
Font - FontSize
- Type: SystemDouble
Font size - PosX
- Type: SystemDouble
Position X - PosY
- Type: SystemDouble
Position Y - Justify
- Type: PdfFileWriterTextJustify
Text justify enumeration - OutlineWidth
- Type: SystemDouble
Outline width - StrokingColor
- Type: System.DrawingColor
Stoking (outline) color - NonStokingColor
- Type: System.DrawingColor
Non stroking (fill) color - Text
- Type: SystemString
Text
Return Value
Type: DoubleText width
