OutText Method
Draws a text, using a font defined by SetFont method.
Object.OutText(tcText [, tnRotation [, lnRotationPoint [, llAddBackColor [, lcLinkName [, lcLinkHref [, lcOutline [,tnOutlineStyle [, liOutlineR [, liOutlineG [, liOutlineB [, lcOutlineParent [,tcTooltip [, tnRotationXOffset [, tnRotationYOffset]]]]]]]]]]]]]])
Parameters
tcText
The text to be drawn
tnRotation
The text rotation angle in degrees. The label will be rotated counterclockwise. Optional, default value = 0.
lnRotationPoint
The point within the rectangle around which the text is rotated. The allowed values are 0..8, optional, default value = 0 (left, top). Please see the picture on the right for the point positions.
llAddBackColor
Add background color under text.
lcLinkName
If this parameter is filled, the text will be a named target of a hyperlink. (see tcLinkRef parameter).
lcLinkRef
If this parameter is filled, the text will be a hyperlink. It will navigate to a target in the local document with tcLinkRef name. To navigate to a http URL, include “http://” at the beginning of the parameter.
lcOutline
If not empty, the parameter contains a name of a bookmark that will be created and will navigate to this text. (since XFRX 19.0)
tnOutlineStyle
Outline style (since XFRX 19.0)
0 ... normal
1 ... italic
2 ... bold
3 ... bold+italic
liOutlineR, liOutlineG, liOutlineB
Red, green and blue components of the outline foreground color (since XFRX 19.0)
lcOutlineParent
If not empty, the parameter contains a parent name of a outline. (since XFRX 19.0)
tcTooltip
The tooltip displayed when hovering mouse over this text.
tnRotationXOffset
Rotation X Offset in foxels from the left top corner. (since XFRX 21.1)
tnRotationYOffset
Rotation Y Offset in foxels from the left top corner. (since XFRX 21.1)
tcBookmark
If not empty, the parameter contains a name of a bookmark/outline that will be created and will navigate to this text.
Remarks
Applies To: PDFL#INIT