IShape

Overview

IShape is a interface in Aspose.Slides FOSS for .NET. Inherits from: IHyperlinkContainer.

Represents a shape on a slide.

Properties

NameTypeAccessDescription
IsTextHolderboolRead
PlaceholderIPlaceholder?ReadProvides access to the placeholder information for the shape, if any
CustomDataICustomData?ReadHolds custom user-defined data attached to the shape
LineFormatILineFormatReadReturns the line formatting (color, width, dash style) of the shape
ThreeDFormatIThreeDFormatReadProvides 3‑D formatting options such as bevel, depth, and lighting
EffectFormatIEffectFormatReadGives access to visual effects like shadow, glow, and reflection
FillFormatIFillFormatReadReturns the fill settings (solid, gradient, pattern, picture) of the shape
ZOrderPositionintReadIndicates the shape’s stacking order relative to other shapes
ConnectionSiteCountintReadReturns the number of connection sites defined on the shape
UniqueIdintReadProvides a unique identifier for the shape within the presentation
OfficeInteropShapeIdintReadReturns the COM interop identifier used by Office applications
IsGroupedboolReadIndicates whether the shape is part of a group shape
AsISlideComponentISlideComponentReadCasts the shape to the ISlideComponent interface for slide operations
RawFrameIShapeFrameRead/WriteProvides low‑level access to the shape’s underlying frame data
FrameIShapeFrameRead/WriteReturns the high‑level shape frame used for positioning and sizing
HiddenboolRead/WriteIndicates whether the shape is hidden from view in the slide
RotationfloatRead/WriteSpecifies the rotation angle of the shape in degrees
XfloatRead/WriteReturns the horizontal position of the shape’s top‑left corner
YfloatRead/Write
WidthfloatRead/WriteProvides the width of the shape in points
HeightfloatRead/Write
AlternativeTextstringRead/WriteStores the alternative text used for accessibility tools
AlternativeTextTitlestringRead/WriteStores the title for the alternative text description
NamestringRead/WriteGets or sets the user‑defined name of the shape
IsDecorativeboolRead/WriteIndicates whether the shape is decorative and ignored by screen readers

See Also