[]
Adds a text to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectText(Unit x, Unit y, string text, object width, object height, Style style)
Public Sub RenderDirectText(x As Unit, y As Unit, text As String, width As Object, height As Object, style As Style)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the image (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the image (cannot be auto). |
| string | text | The string to render. |
| object | width | The width of the text area (if null, auto is used). |
| object | height | The height of the text area (if null, auto is used). |
| Style | style | The Style to use, or null. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Adds a text to the Body of the current document at a specific position on the current page, with auto height, and resolves it.
public void RenderDirectText(Unit x, Unit y, string text, object width, Font font, Color textColor, AlignHorzEnum horzAlign)
Public Sub RenderDirectText(x As Unit, y As Unit, text As String, width As Object, font As Font, textColor As Color, horzAlign As AlignHorzEnum)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the image (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the image (cannot be auto). |
| string | text | The string to render. |
| object | width | The width of the text area (if null, auto is used). |
| Font | font | The font to use. |
| Color | textColor | The text color. |
| AlignHorzEnum | horzAlign | The horizontal text alignment. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).