AlignItem

Top  Previous  Next

 

AlignItem (Method)

 

Aligns a drawing object to a specific parallelogram area in accordance with an align parameter

 

Syntax:

Function AlignItem(xMin As Single, yMin As Single, xMax As Single, yMax As Single, Handle As Integer, Align As AvaxAlignConstants) As Boolean

 

The AlignItem method syntax consists of the following:

Parameter

Data Type

Description

xMin

Single

Is the x coordinate of the bottom left of the parallelogram

yMin

Single

Is the y coordinate of the bottom left of the parallelogram

xMax

Single

Is the x coordinate of the top right of the parallelogram

yMax

Single

Is the x coordinate of the top right of the parallelogram

Handle

Integer

Is the handles of the object

Align

AvaxAlignConstants

An expression that defines the align parameter

 

Return value:

Boolean - True on success, false on error

 

Example