PictureShape Members
A shape that displays a picture.Constructors
| Name | Description |
|---|---|
| PictureShape() | Initializes a new instance of the PictureShape class. |
| PictureShape(OfficeImageBase, Single, Single, Single, Single) | Initializes a new instance of the PictureShape class with specified settings. |
| PictureShape(DXImage, RectangleF) | Initializes a new instance of the PictureShape class with specified settings. |
| PictureShape(DXImage) | Initializes a new instance of the PictureShape class with specified settings. |
| PictureShape(RectangleF) | Initializes a new instance of the PictureShape class with specified settings. |
| PictureShape(Single, Single, Single, Single) | Initializes a new instance of the PictureShape class with specified settings. |
Properties
| Name | Description |
|---|---|
| AlternativeText | Gets or sets the alternative text for a shape. Inherited from ShapeBase. |
| CropBottom | Gets or sets the percentage of the picture cut off at the bottom, between 0 and 100. |
| CropLeft | Gets or sets the percentage of the picture cut from the left, between 0 and 100. |
| CropRight | Gets or sets the percentage of the picture cut off at the right, between 0 and 100. |
| CropTop | Gets or sets the percentage of the picture cut off at the top, between 0 and 100. |
| Decorative | Indicates whether the shape is decorative and does not add meaningful content. Inherited from ShapeBase. |
| Effects | Gets or sets visual effects for the shape. Inherited from StyledShapeBase. |
| Fill | Gets or sets shape fill settings. Inherited from FilledShape. |
| FlipType | Gets or sets the flip orientation for the shape. Inherited from StyledShapeBase. |
| Height | Gets or sets the shape height. Inherited from ShapeBase. |
| Image | Gets or sets the image displayed in the PictureShape. |
| LockSettings | Provides access to shape lock settings. Lock settings restrict user operations or hide certain visual elements. |
| Name | Gets or sets the shape name. Inherited from ShapeBase. |
| Outline | Gets or sets shape outline settings. Inherited from FilledShape. |
| PlaceholderSettings | Gets or sets shape placeholder settings. Inherited from FilledShape. |
| RotationAngle | Gets or sets the rotation angle for the shape. Inherited from StyledShapeBase. |
| Style | Gets or sets the visual style for the shape. Inherited from StyledShapeBase. |
| Type | Gets or sets the shape type. |
| Width | Gets or sets the shape width. Inherited from ShapeBase. |
| X | Gets or sets the X-coordinate of the shape. Inherited from ShapeBase. |
| Y | Gets or sets the Y-coordinate of the shape. Inherited from ShapeBase. |
Methods
| Name | Description |
|---|---|
| Clone() | Clones the current PictureShape instance. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also