Previous Document Next Document

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


CorelScript.SkewObject

Function SkewObject(XAngle As Long, YAngle As Long, Reference As Long) As Long

Description

Member of CorelScript

The SkewObject method skews the selected object.

•
 
To determine angle measurements, use the CorelScriptTools.AngleConvert method.

Parameter
Description
XAngle
Specifies the amount of horizontal skew (that is, skew along the x-axis), in millionths of a degree. Positive angles result in a counterclockwise skew, while negative angles result in clockwise skew.
YAngle
Specifies the amount of vertical skew (that is, skew along the y-axis), in millionths of a degree. Positive angles result in a counterclockwise skew, while negative angles result in clockwise skew.
Reference
Specifies the reference point:
•
 
1 = upper-right
•
 
2 = upper-middle
•
 
3 = upper-left
•
 
4 = middle-left
•
 
5 = lower-left
•
 
6 = lower-middle
•
 
7 = lower-right
•
 
8 = middle-right
•
 
9 = center

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.