PictureBox-DrawText

Function Name dcl-PictureBox-DrawText
Syntax   (dcl-PictureBox-DrawText <CONTROL> (List of Lists as (StartX [as Long] StartY [as Long] Color [as Color] {BackgroundColor [as Color]} Text [as String] Justification [as Integer] {Disabled [as Boolean]}) ...))
Return Type Boolean (T if successful; otherwise NIL)
Applies To Picture Box

This method paints one or more lines of text on the picture box starting at StartX, StartY. Color is the color of the text, and the optional BackgroundColor argument can specify a background color for the text. Justification specifies the location of the text relative to the start point. If Disabled is T, the text is grayed like the text on a disabled control. All points are specified in client coordinates (in pixels, relative to the upper left corner of the control).

Justification Description
0 Top left
1 Top center
2 Top right
3 Bottom left
4 Bottom center
5 Bottom right