Shape
Overview
Shape is a class in Aspose.Slides FOSS for .NET.
Inherits from: PVIObject, IShape.
Base class for all shapes on a slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
IsTextHolder | bool | Read | Indicates if the shape can contain a text frame |
Placeholder | IPlaceholder? | Read | |
CustomData | ICustomData? | Read | Gets custom data attached to the shape |
LineFormat | ILineFormat | Read | Provides access to the shape’s line formatting properties |
ThreeDFormat | IThreeDFormat | Read | Provides access to the shape’s 3‑D formatting settings |
EffectFormat | IEffectFormat | Read | Provides access to visual effects applied to the shape |
FillFormat | IFillFormat | Read | Provides access to the shape’s fill formatting properties |
RawFrame | IShapeFrame | Read/Write | Gets the underlying shape frame data without layout adjustments |
Frame | IShapeFrame | Read/Write | Gets the shape’s frame representing its position and size |
Hidden | bool | Read/Write | Indicates whether the shape is hidden in the presentation |
ZOrderPosition | int | Read | Returns the shape’s stacking order index on the slide |
ConnectionSiteCount | int | Read | |
Rotation | float | Read/Write | Gets or sets the shape’s rotation angle in degrees |
X | float | Read/Write | Gets or sets the horizontal position of the shape’s left edge |
Y | float | Read/Write | Gets or sets the vertical position of the shape’s top edge |
Width | float | Read/Write | Gets or sets the shape’s width |
Height | float | Read/Write | |
UniqueId | int | Read | |
OfficeInteropShapeId | int | Read | Returns the COM interop identifier for the shape |
AlternativeText | string | Read/Write | Gets or sets the alternative text for accessibility |
AlternativeTextTitle | string | Read/Write | Gets or sets the title for the alternative text |
Name | string | Read/Write | |
IsDecorative | bool | Read/Write | Indicates whether the shape is marked as decorative (non‑essential) |
IsGrouped | bool | Read | Indicates whether the shape belongs to a group |
AsISlideComponent | ISlideComponent | Read |