Accusoft ImagXpress 13
DrawTextString Method
The left component (in pixels) of the top-left coordinate for the text.
The top component (in pixels) of the top-left coordinate for the text.
A string that specifies the text to draw.

The RGB color of the text. You can use the RGB function to specify the color.

The value specified must be in a valid OLE_COLOR range.

Description
Draws text onto the image.
Syntax
Visual Basic
Public Sub DrawTextString( _
   ByVal x As Long, _
   ByVal y As Long, _
   ByVal text As String, _
   ByVal Color As OLE_COLOR _
) 
Parameters
x
The left component (in pixels) of the top-left coordinate for the text.
y
The top component (in pixels) of the top-left coordinate for the text.
text
A string that specifies the text to draw.
Color

The RGB color of the text. You can use the RGB function to specify the color.

The value specified must be in a valid OLE_COLOR range.

Remarks

The font and size of the text depends on the settings of the Font property.

This method draws into the control's DIB.

See Also

ImagXpress Object  | ImagXpress Members  | Font Property

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback