Previous Document Next Document

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


CorelScript.MoveCenter

Function MoveCenter(AnchorID As Long, XOffset As Long, YOffset As Long) As Long

Description

Member of CorelScript

The MoveCenter method moves the center of rotation for the selected object.

Parameter
Description
AnchorID
Specifies the reference point of the object to be skewed:
 
-1 = uses the XOffset and YOffset parameters
 
1 = uses upper-right
 
2 = uses upper-middle
 
3 = uses upper-left
 
4 = uses middle-left
 
5 = uses lower-left
 
6 = uses lower-middle
 
7 = uses lower-right
 
8 = uses middle-right
 
9 = uses center
XOffset
If AnchorID = -1, specifies the distance, in tenths of a micron, that the center of rotation is horizontally offset from the center of the object
YOffset
If AnchorID = -1, specifies the distance, in tenths of a micron, that the center of rotation is vertically offset from the center of the object

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.