Accusoft ImagXpress 12
DrawTextString Method
See Also  Send comments on this topic.
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.

AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : DrawTextString Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.