Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.GetPosition


CorelScript.GetPosition

Function GetPosition(XPos As Long, YPos As Long) As Long

Description

Member of CorelScript

The GetPosition method returns the position coordinates of the reference point of the selected object (or of the last object in a selection).

Parameter
Description
XPos
Specifies the x-coordinate of the selected object’s reference point, in tenths of a micron and relative to the center of the page. An object’s default reference point is the upper-left corner.
YPos
Specifies the y-coordinate of the selected object’s reference point, in tenths of a micron and relative to the center of the page. An object’s default reference point is the upper-left corner.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.