Shape Properties
Represents a drawing object.Name | Description |
---|---|
Fill | Gets fill formatting properties for the specified shape. |
HorizontalAlignment | Gets or sets how the shape is positioned horizontally. |
Hyperlink | Retrieves the hyperlink associated with the shape object. |
Line | Gets line formatting properties for the specified shape. |
LockAspectRatio | Gets or sets whether you can change the height and width of a shape independently when you resize it. |
MarginBottom | Gets or sets the distance between the document text and the bottom border of the shape. |
MarginLeft | Gets or sets the distance between the document text and the left border of the shape. |
MarginRight | Gets or sets the distance between the document text and the right border of the shape. |
MarginTop | Gets or sets the distance between the document text and the top border of the shape. |
Name | Gets or sets the name of a shape. The name can be used to reference a particular shape in code. |
Offset | Gets or sets the shape position relative to a certain element of the document layout. |
OriginalSize | Gets the original size of a shape, i.e. the size before scaling. |
Picture | Gets a picture residing in the floating object. |
PictureUri | Gets or sets the URI of a picture represented by a floating object. |
Range | Gets the anchoring range for the specified shape. |
RelativeHorizontalPosition | Gets or sets an item to what the horizontal position of a shape is relative. |
RelativeVerticalPosition | Gets or sets an item to what the vertical position of a shape is relative. |
RotationAngle | Gets or sets the number of degrees the shape is rotated around the z-axis. |
ScaleX | Gets or sets the x-axis scale factor. |
ScaleY | Gets or sets the y-axis scale factor. |
Size | Gets or sets the size of a shape. |
TextBox | Provides access to text box content. |
TextWrapping | Gets or sets how the shape is surrounded by the text. |
TextWrappingSide | Specifies how text should wrap around the shape’s sides. |
VerticalAlignment | Gets or sets how the shape is positioned vertically. |
ZOrder | Gets or sets the position of the shape in the z-order. |
See Also