Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.AlignToShapeRange |
Sub AlignToShapeRange(Type As cdrAlignType, ShapeRange As ShapeRange, [TextAlignOrigin As cdrTextAlignOrigin = cdrTextAlignBoundingBox])
Member of ShapeRange
The AlignToShapeRange method aligns all the shapes in a shape range to the bounding box of another shape range.
Parameter
|
Description
|
Type
|
Specifies the type of alignment
|
ShapeRange
|
Specifies the shape range with which to align
|
TextAlignOrigin
|
Specifies the origin for text alignment. This parameter is optional, and its default value is cdrTextAlignBoundingBox (2).
|
Copyright 2013 Corel Corporation. All rights reserved.