ImgDrawText
Previous  Top  Next

Prototype

ImgDrawText(intImageHandle,intX, intY, strFont, intHeight, intAttributes, intAngle, intColor, strText)

Description

It draw a rectangle of specified size and color in specified position.

Parameters

intImageHandle: integer value corresponding to the image handle.
intX: integer value, the position from left side where to write the text
intY: integer value, the position from top side where to write the text
strFont: string value, the font name to use
intHeight: integer value, the font height in pixel
intAttributes: integer value, the font attributes combined in OR. Available attributes are 1=bold 2=italic 4=underline 8=strikeout
intColor: integer value, the text color value
intAngle: integer value, the text orientation angle, in 10th of degree, from 0 to 3599.
strText: string value, the text to write

Returned value

None.

Notes

None.

Example

// Draw a stamp on top left corner using courier font bold rotated by 45°
ImgDrawText(_CurrentImage, 50, 200, 'Courier New', 48, 1, 450, 0, 'V O I D !');