Documentation Center

PslTransString.GetSourceRect

Returns the coordinates of the source string object.

Syntax

Expression.GetSourceRect (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