RenderDirectText Method (C1OwnerDrawPrint)
In This Topic
Renders text for the document.
Syntax
'Declaration
Public Sub RenderDirectText( _
ByVal As Object, _
ByVal As Object, _
ByVal As String, _
ByVal As Object, _
ByVal As Font, _
ByVal As Color, _
ByVal As AlignHorzEnum _
)
public void RenderDirectText(
object ,
object ,
string ,
object ,
Font ,
Color ,
AlignHorzEnum
)
Parameters
- x
- X-coordinate to start the rendering.
- y
- Y-coordinate to start the rendering.
- text
- The text to render.
- width
- The width for the rendered text.
- font
- The font to use.
- textColor
- The color of the text.
- horzAlign
- The alignment to render the text.
See Also