Export (0) Print
Expand All

Shape Methods

The Shape type exposes the following members.

  NameDescription
Public method Activate Activates the specified object.
Public method Apply Applies to the specified shape formatting that has been copied using the PickUp method.
Public method CanvasCropBottom Crops a percentage of the height of a drawing canvas from the bottom of the canvas.
Public method CanvasCropLeft Crops a percentage of the width of a drawing canvas from the left side of the canvas.
Public method CanvasCropRight Crops a percentage of the width of a drawing canvas from the right side of the canvas.
Public method CanvasCropTop Crops a percentage of the height of a drawing canvas from the top of the canvas.
Public method ConvertToFrame Converts the specified shape to a frame.
Public method ConvertToInlineShape Converts the specified shape in the drawing layer of a document to an inline shape in the text layer.
Public method Delete Deletes the specified object.
Public method Duplicate Creates a duplicate of the specified Shape object, adds the new range of shapes to the Shapes collection at a standard offset from the original shapes, and then returns the new Shape object.
Public method Flip Flips a shape horizontally or vertically.
Public method IncrementLeft Moves the specified shape horizontally by the specified number of points.
Public method IncrementRotation Changes the rotation of the specified shape around the z-axis by the specified number of degrees.
Public method IncrementTop Moves the specified shape vertically by the specified number of points.
Public method PickUp Copies the formatting of the specified shape.
Public method RerouteConnections Reserved for internal use.
Public method ScaleHeight Scales the height of the shape by a specified factor.
Public method ScaleWidth Scales the width of the shape by a specified factor.
Public method Select Selects the specified object.
Public method SetShapesDefaultProperties Applies the formatting of the specified shape to a default shape for that document. New shapes inherit many of their attributes from the default shape.
Public method Ungroup Ungroups any grouped shapes in the specified shape.
Public method ZOrder Moves the specified shape in front of or behind other shapes in the collection (that is, changes the shape's position in the z-order).
Top

Community Additions

ADD
Show:
© 2015 Microsoft