Click or drag to resize

IAudio Interface

Namespace: Spire.Presentation
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public interface IAudio : IShape

The IAudio type exposes the following members.

Properties
Name Description
Public property Adjustments
Gets a collection of shape's adjustment values. Readonly ShapeAdjustCollection .
Public property AlternativeText
Gets or sets the alternative text associated with a shape. Read/write String .
Public property AlternativeTitle
Gets or sets the alternative title associated with a shape. Read/write String
(Inherited from IShape .)
Public property AudioCd
Gets setting of CD.
Public property Click
Gets or sets the hyperlink defined for mouse click. Read/write ClickHyperlink .
Public property Data
Gets or sets embedded audio data. Read/write AudioData .
Public property EffectDag
Gets the EffectFormat object which contains pixel effects applied to a shape. Read-only EffectDag Note: can return null for certain types of shapes which don't have effect properties.
Public property FileName
Gets or sets the name of an audio file. Read/write String .
Public property Fill
Gets the FillFormat object that contains fill formatting properties for a shape. Read-only Fill . Note: can return null for certain types of shapes which don't have fill properties.
Public property Frame
Gets or sets the shape frame's properties. Read/write GraphicFrame .
Public property Height
Gets or sets the height of the shape. Read/write Int32 .
Public property HideAtShowing
Indicates whether an Audio is hidden. Read/write Boolean .
Public property Id (Inherited from IShape .)
Public property IsEmbedded
Indicates whether a sound is embedded to a presentation. Read-only Boolean .
Public property IsHidden
Indicates whether the shape is hidden. Read/write Boolean .
Public property IsLoop
Indicates whether an audio is looped. Read/write Boolean .
Public property IsPlaceholder
Indicates whether the shape is Placeholder. Read-only Boolean .
Public property IsPlayinBackground
Whether the audio plays in the background. Read/write Boolean .
Public property IsTextBox
Indicates whether the shape is TextBox. Read-only Boolean .
(Inherited from IShape .)
Public property Left
Gets or sets the x-coordinate of the upper-left corner of the shape. Read/write Int32 .
Public property Line
Gets the LineFormat object that contains line formatting properties for a shape. Read-only Line . Note: can return null for certain types of shapes which don't have line properties.
Public property MouseOver
Gets or sets the hyperlink defined for mouse over. Read/write ClickHyperlink .
Public property Name
Gets or sets the name of a shape. Read/write String .
Public property Parent
Gets the parent slide of a shape. Read-only ActiveSlide .
Public property PictureFill
Gets the PictureFillFormat object. Read-only PictureFillFormat .
Public property Placeholder
Gets the placeholder for a shape. Read-only Placeholder .
Public property PlayMode
Gets or sets the audio play mode. Read/write AudioPlayMode .
Public property Presentation
Public property Rotation
Gets 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 property ShapeLocking
Gets shape's locks. Readonly SlidePictureLocking .
Public property ShapeStyle
Gets shape's style object. Read-only ShapeStyle .
Public property ShapeType
Returns or sets the AutoShape type.
Public property Slide
Gets the parent slide of a shape. Read-only ActiveSlide .
Public property TagsList
Gets the shape's tags collection. Read-only TagCollection .
Public property ThreeD
Gets the ThreeDFormat object that 3d effect properties for a shape. Read-only FormatThreeD . Note: can return null for certain types of shapes which don't have 3d properties.
Public property Top
Gets or sets the y-coordinate of the upper-left corner of the shape. Read/write Int32 .
Public property Volume
Gets or sets the audio volume. Read/write AudioVolumeType .
Public property Width
Gets or sets the width of the shape. Read/write Int32 .
Public property ZOrderPosition
Gets or sets 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/Write Int32 .
Top
Methods
Name Description
Public method AddConnector (Inherited from IShape .)
Public method Dispose
Dispose object and free resources.
Public method InsertChart
Insert a chart into placeholder shape.
(Inherited from IShape .)
Public method InsertPicture(Stream)
Insert a picture into placeholder shape from stream.
(Inherited from IShape .)
Public method InsertPicture(String)
Insert a picture into placeholder shape.
(Inherited from IShape .)
Public method InsertSmartArt
Insert a smartArt into placeholder shape.
(Inherited from IShape .)
Public method InsertTable
Insert a table into placeholder shape.
(Inherited from IShape .)
Public method InsertVideo
Insert a video into placeholder shape.
(Inherited from IShape .)
Public method RemovePlaceholder
Removes placeholder from the shape.
Public method ReplaceTextWithRegex
Replace text in shape with regex.
(Inherited from IShape .)
Public method SaveAsImage
Save shape to Image.
(Inherited from IShape .)
Public method SaveAsSvg
Convert a shape to svg file.
(Inherited from IShape .)
Public method SaveAsSvgInSlide
Convert a shape to svg file in canvas with slide size.
(Inherited from IShape .)
Public method SetShapeAlignment
Sets the alignment with a shape.
(Inherited from IShape .)
Public method SetShapeArrange
Sets the arrangement with a shape.
(Inherited from IShape .)
Top
See Also