RichText.SetPos

RichText.SetPos (

string ObjectName,

number X,

number Y )

Description

Sets the X and Y pixel coordinates of a richtext object relative to the page or dialog.

Parameters

ObjectName

(string) The name of the richtext object.

X

(number) The new X pixel coordinate (horizontal position) to set for the richtext object. This is the X coordinate of the upper left hand corner of the object's bounding box relative to the page or dialog.

Y

(number) The new Y pixel coordinate (vertical position) to set for the richtext object. This is the Y coordinate of the upper left hand corner of the object's bounding box relative to the page or dialog.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions