Click or drag to resize
Pdftools logo

ContentGeneratorPaintText Method

Paint text.


Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.0.0+fdabb036503e9f99735634a6d4f5be875399e9f5
Syntax
C#
public void PaintText(
	Text text
)

Parameters

text  Text
the text to be painted
Exceptions
ExceptionCondition
InvalidOperationExceptionif the document associated with the content has already been closed
InvalidOperationExceptionif the page/group associated with the content has already been closed
InvalidOperationExceptionif the content object has already been closed
InvalidOperationExceptionif the object has already been closed
ArgumentExceptionif the text is associated with a different document
GenericExceptionif for some of the requested characters to paint the font's encoding is not defined or no glyph exists in the font
ArgumentNullExceptionif text is .
See Also