PictureBox-DrawWrappedText

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

此方法在画面框上绘制一个或多个文本段落,从StartX,StartY和指定的宽度开始。 Color是文本的颜色,可选的BackgroundColor参数可以为文本指定背景颜色。 调整指定文本相对于起点的位置。 所有点都在客户端坐标中指定(以像素为单位,相对于控件的左上角)。

Justification Description
0 Top left
1 Top center
2 Top right