See Also Examples Applies To
Draws a text using specified font into the current page of the native pdf created by the PdfNewPdfEx() function.
Syntax
object.PdfDrawText (nDstX, nDstY, sText, nFontId, nFontSize, nRotation)
The PdfDrawText syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nDstX | Required. Single. The X destination in current unit defined by the PdfSetMeasurementUnits() function. |
| nDstY | Required. Single. The Y destination (from the bottom) in current unit defined by the PdfSetMeasurementUnits() function. |
| sText | Required. String. The text to draw. |
| nFontId | Required. Long. The Font ID. Value returned by the PdfAddFont() function. |
| nFontSize | Required. Long. The font size in point. 1 point = 1/72 inch. |
| nRotation | Optional. Long. Default value is 0. Defines a rotation of the text in degres. |
Remarks
This function can only be used with the native PDF created by the PdfNewPdfEx() function.
Category
PDF Functions