Shape Methods

Name Returns Parameters Description

Apply

Applies formatting that has been copied using the PickUp method

Copy

Copies the shape to the clipboard

CopyPicture

[Appearance As XLPicture Appearance], [Format As XlCopyPicture Format]

Copies the range into the clipboard as a picture. The Appearance parameter can be used to specify whether the picture is copied as it looks on the screen or when printed. The Format parameter can specify the type of picture that will be put into the clipboard

Cut

Cuts the shape and places it in the clipboard

Delete

Deletes the shape

Duplicate Shape

Duplicates the shape returning the new shape

Flip

FlipCmd As MsoFlipCmd

Flips the shape using the FlipCmd parameter

Name

Returns

Parameters

Description

Increment Left

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

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

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 MsoZ OrderCmd

Changes the order of the shape object in the collection

0 0

Post a comment