IShape
Overview
IShape is a interface in Aspose.Slides FOSS for .NET.
Inherits from: IHyperlinkContainer.
Represents a shape on a slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
IsTextHolder | bool | Read | |
Placeholder | IPlaceholder? | Read | Provides access to the placeholder information for the shape, if any |
CustomData | ICustomData? | Read | Holds custom user-defined data attached to the shape |
LineFormat | ILineFormat | Read | Returns the line formatting (color, width, dash style) of the shape |
ThreeDFormat | IThreeDFormat | Read | Provides 3‑D formatting options such as bevel, depth, and lighting |
EffectFormat | IEffectFormat | Read | Gives access to visual effects like shadow, glow, and reflection |
FillFormat | IFillFormat | Read | Returns the fill settings (solid, gradient, pattern, picture) of the shape |
ZOrderPosition | int | Read | Indicates the shape’s stacking order relative to other shapes |
ConnectionSiteCount | int | Read | Returns the number of connection sites defined on the shape |
UniqueId | int | Read | Provides a unique identifier for the shape within the presentation |
OfficeInteropShapeId | int | Read | Returns the COM interop identifier used by Office applications |
IsGrouped | bool | Read | Indicates whether the shape is part of a group shape |
AsISlideComponent | ISlideComponent | Read | Casts the shape to the ISlideComponent interface for slide operations |
RawFrame | IShapeFrame | Read/Write | Provides low‑level access to the shape’s underlying frame data |
Frame | IShapeFrame | Read/Write | Returns the high‑level shape frame used for positioning and sizing |
Hidden | bool | Read/Write | Indicates whether the shape is hidden from view in the slide |
Rotation | float | Read/Write | Specifies the rotation angle of the shape in degrees |
X | float | Read/Write | Returns the horizontal position of the shape’s top‑left corner |
Y | float | Read/Write | |
Width | float | Read/Write | Provides the width of the shape in points |
Height | float | Read/Write | |
AlternativeText | string | Read/Write | Stores the alternative text used for accessibility tools |
AlternativeTextTitle | string | Read/Write | Stores the title for the alternative text description |
Name | string | Read/Write | Gets or sets the user‑defined name of the shape |
IsDecorative | bool | Read/Write | Indicates whether the shape is decorative and ignored by screen readers |