RenderDirectText(Unit,Unit,String,Object,Font,Color,AlignHorzEnum) Method
In This Topic
Adds a text to the
Body of the current document at a specific position on the current page, with
auto height, and resolves it.
Syntax
'Declaration
Public Overloads Sub RenderDirectText( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As String, _
ByVal As Object, _
ByVal As Font, _
ByVal As Color, _
ByVal As AlignHorzEnum _
)
public void RenderDirectText(
Unit ,
Unit ,
string ,
object ,
Font ,
Color ,
AlignHorzEnum
)
Parameters
- x
- The horizontal (X) coordinate at which to render the image (cannot be auto).
- y
- The vertical (Y) coordinate at which to render the image (cannot be auto).
- text
- The string to render.
- width
- The width of the text area (if null, auto is used).
- font
- The font to use.
- textColor
- The text color.
- horzAlign
- The horizontal text alignment.
See Also