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 System.String, _
ByVal As System.Object, _
ByVal As System.Drawing.Font, _
ByVal As System.Drawing.Color, _
ByVal As AlignHorzEnum _
)
public void RenderDirectText(
Unit ,
Unit ,
System.string ,
System.object ,
System.Drawing.Font ,
System.Drawing.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