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

NameTypeAccessDescription
IsTextHolderboolReadIndicates if the shape can contain a text frame
PlaceholderIPlaceholder?Read
CustomDataICustomData?ReadGets custom data attached to the shape
LineFormatILineFormatReadProvides access to the shape’s line formatting properties
ThreeDFormatIThreeDFormatReadProvides access to the shape’s 3‑D formatting settings
EffectFormatIEffectFormatReadProvides access to visual effects applied to the shape
FillFormatIFillFormatReadProvides access to the shape’s fill formatting properties
RawFrameIShapeFrameRead/WriteGets the underlying shape frame data without layout adjustments
FrameIShapeFrameRead/WriteGets the shape’s frame representing its position and size
HiddenboolRead/WriteIndicates whether the shape is hidden in the presentation
ZOrderPositionintReadReturns the shape’s stacking order index on the slide
ConnectionSiteCountintRead
RotationfloatRead/WriteGets or sets the shape’s rotation angle in degrees
XfloatRead/WriteGets or sets the horizontal position of the shape’s left edge
YfloatRead/WriteGets or sets the vertical position of the shape’s top edge
WidthfloatRead/WriteGets or sets the shape’s width
HeightfloatRead/Write
UniqueIdintRead
OfficeInteropShapeIdintReadReturns the COM interop identifier for the shape
AlternativeTextstringRead/WriteGets or sets the alternative text for accessibility
AlternativeTextTitlestringRead/WriteGets or sets the title for the alternative text
NamestringRead/Write
IsDecorativeboolRead/WriteIndicates whether the shape is marked as decorative (non‑essential)
IsGroupedboolReadIndicates whether the shape belongs to a group
AsISlideComponentISlideComponentRead