Documentation Center

PslTransString.GetRect

Returns the current coordinates of the translation string object.

Syntax

Expression.GetRect (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 One of these values:

  • pslDlgUnits (default, Value = 0) returns coordinates in dialog units
  • pslPixels (Value = 1) returns coordinates in pixels