Draws a text using specified font into the current page of a PDF.
public PdfDrawText( int PdfID, Single DstX, Single DstY, String Text, int FontID, Single FontSize, Color TextColor, int Rotation );
Public Sub PdfDrawText( ByVal PdfID As Integer, ByVal DstX As Single, ByVal DstY As Single, ByVal Text As String, ByVal FontID As Integer, ByVal FontSize As Single, ByVal TextColor As Color, ByVal Rotation As Integer )
|
Parameters |
Description |
|
PdfID |
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. |
|
DstX |
The X destination in current unit defined by the PdfSetMeasurementUnit() function. |
|
DstY |
The Y destination (from the bottom) in current unit defined by the PdfSetMeasurementUnit() function. |
|
Text |
The text to draw. |
|
FontID |
The Font ID. Value returned by the PdfAddTrueTypeFont() function. |
|
FontSize |
The font size in point. 1 point = 1/72 inch. |
|
TextColor |
Color Object. You can build a Color Object using the ARGB() function. Color of the text. |
|
Rotation |
If <> 0, defines a rotation of the text in degrees. |
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|