RenderDirectText Method (C1OwnerDrawPrint)
In This Topic
Renders text for the document.
Syntax
'Declaration
Public Sub RenderDirectText( _
ByVal As System.Object, _
ByVal As System.Object, _
ByVal As System.String, _
ByVal As System.Object, _
ByVal As System.Drawing.Font, _
ByVal As System.Drawing.Color, _
ByVal As AlignHorzEnum _
)
public void RenderDirectText(
System.object ,
System.object ,
System.string ,
System.object ,
System.Drawing.Font ,
System.Drawing.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