StretchItems

Top  Previous  Next

 

StretchItems (Method)

 

Stretches the objects described in a specific handles array by the same proportion that a specific parallelogram has been changed from its original coordinates to new changed coordinates

 

Syntax:

Function StretchItems([Handles]() As Integer, xOldMin As Single, yOldMin As Single, xOldMax As Single, yOldMax As Single, xNewMin As Single, yNewMin As Single, xNewMax As Single, yNewMax As Single) As Boolean

 

The StretchItems method syntax consists of the following:

Parameter

Data Type

Description

[Handles]()

Integer

 

xOldMin

Single

Is the x original coordinate of the bottom left extend of the parallelogram

yOldMin

Single

Is the y original coordinate of the bottom left extend of the parallelogram

xOldMax

Single

Is the x original coordinate of the top right extend of the parallelogram

yOldMax

Single

Is the y original coordinate of the top right extend of the parallelogram

xNewMin

Single

Is the x new changed coordinate of the bottom left extend of the parallelogram

yNewMin

Single

Is the y new changed coordinate of the bottom left extend of the parallelogram

xNewMax

Single

Is the x new changed coordinate of the top right extend of the parallelogram

yNewMax

Single

Is the x new changed coordinate of the top right extend of the parallelogram

 

Return value:

Boolean - True on success, false on error.

 

Example