Add(ImGearPDETextFlags,Int32,String,ImGearPDEFont,ImGearPDEGraphicState,ImGearPDETextState,ImGearPDFFixedMatrix) Method
In This Topic
Adds a Unicode character or a Unicode text run to a PDE Text object.
Syntax
'Declaration
Public Overloads Sub Add( _
ByVal As ImGearPDETextFlags, _
ByVal As Integer, _
ByVal As String, _
ByVal As ImGearPDEFont, _
ByVal As ImGearPDEGraphicState, _
ByVal As ImGearPDETextState, _
ByVal As ImGearPDFFixedMatrix _
)
'Usage
Dim instance As ImGearPDEText
Dim options As ImGearPDETextFlags
Dim index As Integer
Dim text As String
Dim font As ImGearPDEFont
Dim graphicsState As ImGearPDEGraphicState
Dim textState As ImGearPDETextState
Dim textMatrix As ImGearPDFFixedMatrix
instance.Add(options, index, text, font, graphicsState, textState, textMatrix)
Parameters
- options
- ImGearPDETextFlags options that specify what kind of text to add. Must be either:
CHAR
- for a text character, or RUN
- for a text run. - index
- Index after which to add character or text run.
- text
- String with Unicode characters to add.
- font
- Font for the element. Must be TrueType or Type 0 font.
- 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.1 Text-Positioning Operators' of
the PDF Reference for more details.
Example
See Also