PdfContents.DrawTextWithAnnotation Method (PdfPage, PdfFont, Double, Double, Double, String, AnnotAction)

PDF File Writer

PdfContentsDrawTextWithAnnotation Method (PdfPage, PdfFont, Double, Double, Double, String, AnnotAction)

Draw text with annotation action

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public double DrawTextWithAnnotation(
	PdfPage Page,
	PdfFont Font,
	double FontSize,
	double TextAbsPosX,
	double TextAbsPosY,
	string Text,
	AnnotAction AnnotAction
)

Parameters

Page
Type: PdfFileWriterPdfPage
Current page
Font
Type: PdfFileWriterPdfFont
Font
FontSize
Type: SystemDouble
Font size
TextAbsPosX
Type: SystemDouble
Text absolute position X
TextAbsPosY
Type: SystemDouble
Text absolute position Y
Text
Type: SystemString
Text
AnnotAction
Type: PdfFileWriterAnnotAction
Annotation action

Return Value

Type: Double
Text width
Remarks
The position arguments are in relation to the bottom left corner of the paper.
See Also