[]
Represents common APIs for shape and shape range.
public interface IShapeBase
Public Interface IShapeBase
| Name | Description |
|---|---|
| Adjustments | Gets an IArray<double> object that contains adjustment values for all the adjustments in the specified shape. |
| AlternativeText | Gets or sets the descriptive (alternative) text string for an IShape object. |
| AutoShapeType | Gets or sets the shape type for the specified IShape or IShapeBase object, which must represent an shape other than a line, freeform drawing, or connector. |
| Bindings | Gets the binding collection of this shape. |
| Callout | Gets an ICalloutFormat object that contains callout formatting properties for the specified shape. Applies to a IShape object that represent line callouts. |
| CanMove | Gets or sets whether the object can be moved. |
| CanRotate | Gets or sets whether the user is allowed to rotate the shape. |
| CanSize | Gets or sets whether the object can be resized. |
| Child | Gets a value indicating whether this IShape is child shape or if all shapes in a shape range are child shapes of the same parent. |
| ConnectionSiteCount | Gets the number of connection sites on the specified shape. |
| Connector | Gets a value indicating whether this IShape is a connector. |
| ConnectorFormat | Gets a ConnectorFormat object that contains connector formatting properties. Applies to a Shape that represent connectors. |
| ControlFormat | Gets an IControlFormat object that contains control properties. |
| Fill | Gets a IFillFormat object for a specified shape that contains fill formatting properties for the shape. |
| Glow | Gets a IGlowFormat object for a specified shape that contains glow formatting properties for the shape. |
| GroupItems | Gets a IGroupShapes object that represents the individual shapes in the specified group. |
| HorizontalFlip | Gets a value indicating whether the specified shape is flipped around the horizontal axis. |
| ID | Gets a long value that represents the identifier of the specified shape. |
| Line | Gets a ILineFormat object that contains line formatting properties for the specified shape. |
| LockAspectRatio | Gets or sets a value indicating whether the IShape retains its original proportions when you resize it. |
| Nodes | Gets a IShapeNodes collection that represents the geometric description of the specified shape. |
| Parent | Gets the parent shape for the specified shape. |
| ParentGroup | Gets a IShape object that represents the common parent shape of a child shape or a range of child shapes. |
| PictureFormat | Gets a IPictureFormat object that contains picture formatting properties for the specified shape. |
| Reflection | Gets a IReflectionFormat object for a specified shape that contains reflection formatting properties for the shape. |
| Regroupable | Returns whether the shape is able to regroup. |
| Rotation | Gets or sets the rotation of the shape, in degrees. |
| Shadow | Gets a IShadowFormat object that contains shadow formatting properties for the specified shape or shapes. |
| ShapeStyle | Gets or sets an ShapeStyle that represents the shape style of shape range. |
| SoftEdge | Gets a ISoftEdgeFormat object for a specified shape that contains soft edge formatting properties for the shape |
| TextEffect | Gets an ITextEffectFormat object that contains text-effect formatting properties for the specified shape. |
| TextFrame | Gets an ITextFrame object that contains text formatting for the specified shape. |
| Title | Gets or sets the title of the alternative text associated with the specified shape |
| Type | Gets or sets a ShapeType value that represents the shape type. |
| VerticalFlip | Gets a value indicating whether the specified shape is flipped around the vertical axis. |
| Name | Description |
|---|---|
| Apply() | Applies to the specified shape formatting that's been copied by using the PickUp() method. |
| Delete() | Deletes this shape. |
| Flip(bool) | Flips the specified shape around its horizontal or vertical axis. |
| IncrementLeft(int) | Moves the specified shape horizontally by the specified number of pixels. |
| IncrementRotation(double) | Changes the rotation of the specified shape around the z-axis by the specified number of degrees. |
| IncrementTop(int) | Moves the specified shape vertically by the specified number of pixels. |
| PickUp() | Copies the formatting of the specified shape. |
| RerouteConnections() | Reroutes all connectors attached to the specified shape; if the specified shape is a connector, it's rerouted. |
| ScaleHeight(double, bool, ScaleFrom) | Scales the height of the shape by a specified factor. |
| ScaleWidth(double, bool, ScaleFrom) | Scales the width of the shape by a specified factor. |
| Select(bool) | Selects the shape. |
| SetShapesDefaultProperties() | Makes the formatting of the specified shape the default formatting for the shape. |
| Ungroup(bool) | Ungroups any grouped shapes in the specified shape or range of shapes. Disassembles pictures and OLE objects within the specified shape or range of shapes. |
| Unselect() | Cancels the current selection. |
| ZOrder(ZOrderCommand) | 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). |