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