Description
Read-only. This function returns the Point object representing the center of the rectangle.
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.CenterPoint
Parameters
Object is a reference to the Rectangle object. For more information, see Rectangle Object (page Rectangle Object).
CenterPoint is the command.
Example
Set r = Application.NewRectangle
r.SetRectArea 10, 20, 30, 40
MsgBox "Center point of " & r.AsString & " is " & r.CenterPoint