[]
Adds an RTF-formatted string to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRichText(Unit x, Unit y, string rtf, object width, object height, Style style)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the text (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the text (cannot be auto). |
| string | rtf | The RTF-formatted string to render. |
| object | width | The width of the text area (cannot be null or auto). |
| object | height | The height of the text area (can be null, in which case 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 an RTF-formatted string to the Body of the current document at a specific position on the current page with auto height, and resolves it.
public void RenderDirectRichText(Unit x, Unit y, string rtf, object width)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the text (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the text (cannot be auto). |
| string | rtf | The RTF-formatted string to render. |
| object | width | The width of the text area (cannot be null or auto). |
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).