RenderDirectRichText(Unit,Unit,String,Object,Object,Style) Method
In This Topic
Adds an RTF-formatted string to the
C1.C1Preview.C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
Syntax
'Declaration
Public Overloads Sub RenderDirectRichText( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As String, _
ByVal As Object, _
ByVal As Object, _
ByVal As Style _
)
public void RenderDirectRichText(
Unit ,
Unit ,
string ,
object ,
object ,
Style
)
Parameters
- x
- The horizontal (X) coordinate at which to render the text (cannot be auto).
- y
- The vertical (Y) coordinate at which to render the text (cannot be auto).
- rtf
- The RTF-formatted string to render.
- width
- The width of the text area (cannot be null or auto).
- height
- The height of the text area (can be null, in which case C1.C1Preview.Unit.Auto is used).
- style
- The C1.C1Preview.C1PrintDocument.Style to use, or null.
See Also