Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- options
- ImGearPDETextFlags options that specify what kind of text to add. Must be either:
CHAR
- for a text character, orRUN
- for a text run. - index
- Index after which to add character or text run.
- text
- String with characters to add. Passing Null for text can invalidate the text object but will not raise an error. Callers must not pass Null for this parameter.
- font
- Font for the element.
- graphicsState
- The graphics state for the element.
- textState
- The text state for the element.
- textMatrix
- The coordinates of text are specified in text space. TextMatrix defines the transformation from text space to the user space. See section '5.3.1Text-Positioning Operators' of the PDF Reference for more details.
- strokeMatrix
- The transformation matrix for the line width when stroking text. May be Null. The line width parameter specifies the thickness of the line used to stroke a path. It is a non-negative number expressed in user space units; stroking a path entails painting all points whose perpendicular distance from the path in user space is less than or equal to half the line width. The effect produced in device space depends on the StrokeMatrix in effect at the time the path is stroked. See section '4.3.2 Details of Graphics State Parameters' of the PDF Reference for more details.
This method should be used for adding ASCII text.