Previous Document Next Document

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


CorelScript.StretchObject

Function StretchObject(XScaleNumerator As Double, XScaleDenominator As Double, YScaleNumerator As Double, YScaleDenominator As Double, HMirror As Boolean, VMirror As Boolean, ReferenceNum As Long) As Long

Description

Member of CorelScript

The StretchObject method stretches or mirrors the selected object.

Parameter
Description
XScaleNumerator
Specifies the amount by which the selected object is stretched along the x-axis. The final stretch value is determined by dividing this value by the XScaleDenominator value; the object becomes smaller if the final value is less than 1, larger if the final value is greater than 1.
XScaleDenominator
Specifies the amount by which the selected object is stretched along the x-axis. The final stretch value is determined by dividing the XScaleNumerator value by this value; the object becomes smaller if the final value is less than 1, larger if the final value is greater than 1.
YScaleNumerator
Specifies the amount by which the selected object is stretched along the y-axis. The final stretch value is determined by dividing this value by the YScaleDenominator value; the object becomes smaller if the final value is less than 1, larger if the final value is greater than 1.
YScaleDenominator
Specifies the amount by which the selected object is stretched along the y-axis. The final stretch value is determined by dividing the YScaleNumerator value by this value; the object becomes smaller if the final value is less than 1, larger if the final value is greater than 1.
HMirror
Specifies whether to horizontally mirror the selected object. True (-1) enables this option.
VMirror
Specifies whether to vertically mirror the selected object. True (-1) enables this option.
ReferenceNum
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.