Documentation Center

PslTransString.SetRect

Sets the rect coordinates of the translation string object.

Syntax

Expression.SetRect (X as LONG, Y as LONG, Cx as LONG, Cy as LONG, [optional] Type as Variant) as Boolean

Expression Object of type PslTransString

Xx coordinate

Yx coordinate

Cx width

Cy height

Type pslDlgUnits returns coordinates in dialog units, pslPixels returns coordinates in pixels