Shape Range Methods

Name

Returns

Parameters

Description

Align

AlignCmd As MsoAlignCmd, RelativeTo As MsoTriState

Aligns the shapes in the collection to the alignment properties set by the parameters

Name

Returns

Parameters

Description

Apply

Applies the formatting that was set by the PickUp method

Delete

Deletes the shape

Distribute

DistributeCmd As MsoDistribute Cmd, RelativeTo As MsoTriState

Distributes the shapes in the collection evenly, either horizontally or vertically

Duplicate

ShapeRange

Duplicates the shape and returns a new ShapeRange

Flip

FlipCmd As MsoFlipCmd

Flips the shape using the FlipCmd parameter

Group

Shape

Groups the shapes in the collection

IncrementLeft

Increment As Single

Moves the shape horizontally

Increment Rotation

Increment As Single

Rotates the shape using the Increment parameter as degrees

IncrementTop

Increment As Single

Moves the shape vertically

PickUp

Copies the format of the current shape so another shape can then apply the formats

Regroup

Shape

Regroups any previously grouped shapes

Reroute Connections

Optimizes the route of the current connector shape connected between two shapes. Also, this method may be used to optimize all the routes of connectors connected to the current shape

ScaleHeight

Factor As Single, RelativeTo OriginalSize As MsoTriState, [Scale]

Scales the height of the shape by the Factor parameter

Name

Returns

Parameters

Description

ScaleWidth

Factor As Single, RelativeTo OriginalSize As MsoTriState, [Scale]

Scales the width of the shape by the Factor parameter

Select

[Replace]

Selects the shape in the document

SetShapes

Default

Properties

Sets the formatting of the current shape as a default shape in Word

Ungroup

ShapeRange

Breaks apart the shapes that make up the Shape object

ZOrder

ZOrderCmd As MsoZOrderCmd

Changes the order of the Shape object in the collection

0 0

Post a comment