Previous Document Next Document

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


CorelScript.AlignToGrid

Function AlignToGrid(HorizontalAlignment As Long, VerticalAlignment As Long) As Long

Description

Member of CorelScript

The AlignToGrid method aligns the selected objects to the gridpoint nearest to the edge of the selection.

Parameter
Description
HorizontalAlignment
Specifies the type of horizontal alignment:
 
0 = None
 
1 = Right
 
2 = Left
 
3 = Center
VerticalAlignment
Specifies the type of vertical alignment:
 
0 = None
 
1 = Top
 
2 = Bottom
 
3 = Center

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.