IShape Interface

Represents a shape on a slide.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public interface IShape : ISlideComponent, IPresentationComponent, 
	IHyperlinkContainer

The IShape type exposes the following members.

Properties
  NameDescription
Public propertyAlternativeText
Returns or sets the alternative text associated with a shape. Read/write String.
Public propertyAlternativeTextTitle
Returns or sets the title of alternative text associated with a shape. Read/write String.
Public propertyAsIHyperlinkContainer
Allows to get base IHyperlinkContainer interface. Read-only IHyperlinkContainer.
Public propertyAsIPresentationComponent
Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
(Inherited from ISlideComponent.)
Public propertyAsISlideComponent
Allows to get base ISlideComponent interface. Read-only ISlideComponent.
Public propertyBlackWhiteMode
Property specifies how a shape will render in black-and-white display mode.. Read/write BlackWhiteMode.
Public propertyConnectionSiteCount
Returns the number of connection sites on the shape. Read-only Int32.
Public propertyCustomData
Returns the shape's custom data. Read-only ICustomData.
Public propertyEffectFormat
Returns the EffectFormat object which contains pixel effects applied to a shape. Read-only IEffectFormat.
Public propertyFillFormat
Returns the FillFormat object that contains fill formatting properties for a shape. Read-only IFillFormat.
Public propertyFrame
Returns or sets the shape frame's properties. Read/write IShapeFrame.
Public propertyHeight
Returns or sets the height of the shape. Read/write Single.
Public propertyHidden
Determines whether the shape is hidden. Read/write Boolean.
Public propertyHyperlinkClick
Returns or sets the hyperlink defined for mouse click. Read/write IHyperlink.
(Inherited from IHyperlinkContainer.)
Public propertyHyperlinkManager
Hyperlinks manager Read-only IHyperlinkManager.
(Inherited from IHyperlinkContainer.)
Public propertyHyperlinkMouseOver
Returns or sets the hyperlink defined for mouse over. Read/write IHyperlink.
(Inherited from IHyperlinkContainer.)
Public propertyIsGrouped
Determines whether the shape is grouped. Read-only Boolean.
Public propertyIsTextHolder
Determines whether the shape is TextHolder. Read-only Boolean.
Public propertyLineFormat
Returns the LineFormat object that contains line formatting properties for a shape. Read-only ILineFormat.
Public propertyName
Returns or sets the name of a shape. Read/write String.
Public propertyOfficeInteropShapeId
Gets unique shape identifier in slide scope. Read-only UInt32. See also UniqueId for getting unique shape identifier in presentation scope.
Public propertyParentGroup
Returns parent GroupShape object if shape is grouped. Otherwise returns null. Read-only IGroupShape.
Public propertyPlaceholder
Returns the placeholder for a shape. Read-only IPlaceholder.
Public propertyPresentation
Returns the presentation. Read-only IPresentation.
(Inherited from IPresentationComponent.)
Public propertyRawFrame
Returns or sets the raw shape frame's properties. Read/write IShapeFrame.
Public propertyRotation
Returns or sets the number of degrees the specified shape is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. Read/write Single.
Public propertyShapeLock
Returns shape's locks. Read-only IBaseShapeLock.
Public propertySlide
Returns the base slide. Read-only IBaseSlide.
(Inherited from ISlideComponent.)
Public propertyThreeDFormat
Returns the ThreeDFormat object that contains line formatting properties for a shape. Read-only IThreeDFormat.
Public propertyUniqueId
Gets unique shape identifier in presentation scope. Read-only UInt32. See also OfficeInteropShapeId for getting unique shape identifier in slide scope.
Public propertyWidth
Returns or sets the width of the shape. Read/write Single.
Public propertyX
Returns or sets the x-coordinate of the upper-left corner of the shape. Read/write Single.
Public propertyY
Returns or sets the y-coordinate of the upper-left corner of the shape. Read/write Single.
Public propertyZOrderPosition
Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. Read-only Int32.
Methods
  NameDescription
Public methodAddPlaceholder
Adds a new placeholder if there is no and sets placeholder properties to a specified one.
Public methodCreateEffectFormatEffective Obsolete.
Creates the EffectFormatEffectiveData object that contains all effects applyed to a shape, included inherited.
Public methodCreateFillFormatEffective Obsolete.
Creates the FillFormatEffectiveData object that contains all fill formatting properties for a shape, included inherited.
Public methodCreateLineFormatEffective Obsolete.
Creates the LineFormatEffectiveData object that contains all line formatting properties for a shape, included inherited.
Public methodCreateThreeDFormatEffective Obsolete.
Creates the ThreeDFormatEffectiveData object that contains volume properties and 3D transformation of a shape, included inherited.
Public methodGetThumbnail
Returns shape thumbnail. ShapeThumbnailBounds.Shape shape thumbnail bounds type is used by default.
Public methodGetThumbnail(ShapeThumbnailBounds, Single, Single)
Returns shape thumbnail.
Public methodRemovePlaceholder
Defines that this shape isn't a placeholder.
Public methodWriteAsSvg(Stream)
Saves content of Shape as SVG file.
Public methodWriteAsSvg(Stream, ISVGOptions)
Saves content of Shape as SVG file.
See Also