Description
Read-only. This function returns a string representation of the rectangle. The four coordinates are in the following order: LeftSide, TopSide, RightSide and BottomSide. They are separated by commas and enclosed in parentheses. For example, “(10, 20, 30, 40)”. This property is useful when displaying the data in a message box.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.AsString
Parameters
Object is a reference to the Rectangle object. For more information, see Rectangle Object (page Rectangle Object).
AsString is the command.
Example
Set r = Application.NewRectangle
r.LeftSide = 10
r.TopSide = 20
r.RightSide = 30
r.BottomSide = 40
MsgBox r.AsString‘ displays "(10, 20, 30, 40)"