AudioFrame Class

Represents an audio clip on a slide.
Inheritance Hierarchy

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public class AudioFrame : PictureFrame, IAudioFrame, 
	IPictureFrame, IGeometryShape, IShape, ISlideComponent, IPresentationComponent, 
	IHyperlinkContainer

The AudioFrame type exposes the following members.

Properties
  NameDescription
Public propertyAdjustments
Returns a collection of shape's adjustment values. Read-only IAdjustValueCollection.
(Inherited from GeometryShape.)
Public propertyAlternativeText
Returns or sets the alternative text associated with a shape. Read/write String.
(Inherited from Shape.)
Public propertyAlternativeTextTitle
Returns or sets the title of alternative text associated with a shape. Read/write String.
(Inherited from Shape.)
Public propertyAudioCdEndTrack
Returns or sets a last track index Read/write Int32.
Public propertyAudioCdEndTrackTime
Returns or sets a last track time. Read/write Int32.
Public propertyAudioCdStartTrack
Returns or sets a start track index. Read/write Int32.
Public propertyAudioCdStartTrackTime
Returns or sets a start track time. Read/write Int32.
Public propertyBlackWhiteMode
Property specifies how a shape will render in black-and-white display mode.. Read/write BlackWhiteMode.
(Inherited from Shape.)
Public propertyConnectionSiteCount
Returns the number of connection sites on the shape. Read-only Int32.
(Inherited from Shape.)
Public propertyCustomData
Returns the shape's custom data. Read-only ICustomData.
(Inherited from Shape.)
Public propertyEffectFormat
Returns the EffectFormat object which contains pixel effects applied to a shape. Note: can return null for certain types of shapes which don't have effect properties. Read-only IEffectFormat.
(Inherited from Shape.)
Public propertyEmbedded
Determines whether a sound is embedded to a presentation. Read-only Boolean.
Public propertyEmbeddedAudio
Returns or sets embedded audio object. Read/write IAudio.
Public propertyFillFormat
Returns the FillFormat object that contains fill formatting properties for a shape. Note: can return null for certain types of shapes which don't have fill properties. Read-only IFillFormat.
(Inherited from Shape.)
Public propertyFrame
Returns or sets the shape frame's properties. Read/write IShapeFrame.
(Inherited from Shape.)
Public propertyHeight
Returns or sets the height of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyHidden
Determines whether the shape is hidden. Read/write Boolean.
(Inherited from Shape.)
Public propertyHideAtShowing
Determines whether an AudioFrame is hidden. Read/write Boolean.
Public propertyHyperlinkClick
Returns or sets the hyperlink defined for mouse click. Read/write IHyperlink.
(Inherited from Shape.)
Public propertyHyperlinkManager
Returns the hyperlink manager. Read-only IHyperlinkManager.
(Inherited from Shape.)
Public propertyHyperlinkMouseOver
Returns or sets the hyperlink defined for mouse over. Read/write IHyperlink.
(Inherited from Shape.)
Public propertyIsGrouped
Determines whether the shape is grouped. Read-only Boolean.
(Inherited from Shape.)
Public propertyIsTextHolder
Determines whether the shape is TextHolder_PPT. Read-only Boolean.
(Inherited from Shape.)
Public propertyLineFormat
Returns the LineFormat object that contains line formatting properties for a shape. Note: can return null for certain types of shapes which don't have line properties. Read-only ILineFormat.
(Inherited from Shape.)
Public propertyLinkPathLong
Returns or sets the name of an audio file which is linked to an AudioFrame. Read/write String.
Public propertyName
Returns or sets the name of a shape. Must be not null. Use empty string value if needed. Read/write String.
(Inherited from Shape.)
Public propertyOfficeInteropShapeId
Gets unique shape identifier in slide scope. Read-only UInt32. See also UniqueId for getting unique shape identifier in presentation scope.
(Inherited from Shape.)
Public propertyParentGroup
Returns parent GroupShape object if shape is grouped. Otherwise returns null. Read-only IGroupShape.
(Inherited from Shape.)
Public propertyPictureFormat
Returns the PictureFillFormat object for a picture frame. Read-only IPictureFillFormat.
(Inherited from PictureFrame.)
Public propertyPictureFrameLock
Returns shape's locks. Read-only IPictureFrameLock.
(Inherited from PictureFrame.)
Public propertyPlaceholder
Returns the placeholder for a shape. Returns null if the shape has no placeholder. Read-only IPlaceholder.
(Inherited from Shape.)
Public propertyPlayLoopMode
Determines whether an audio is looped. Read/write Boolean.
Public propertyPlayMode
Returns or sets the audio play mode. Read/write AudioPlayModePreset.
Public propertyPresentation
Returns the parent presentation of a slide. Read-only IPresentation.
(Inherited from Shape.)
Public propertyRawFrame
Returns or sets the raw shape frame's properties. Read/write IShapeFrame.
(Inherited from Shape.)
Public propertyRelativeScaleHeight
Returns or sets the scale of height(relative to original picture size) of the picture frame. Value 1.0 corresponds to 100%. Read/write Single.
(Inherited from PictureFrame.)
Public propertyRelativeScaleWidth
Returns or sets the scale of width (relative to original picture size) of the picture frame. Value 1.0 corresponds to 100%. Read/write Single.
(Inherited from PictureFrame.)
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.
(Inherited from Shape.)
Public propertyShapeLock
Returns shape's locks. Read-only IPictureFrameLock.
(Inherited from PictureFrame.)
Public propertyShapeStyle
Returns shape's style object. Read-only IShapeStyle.
(Inherited from GeometryShape.)
Public propertyShapeType

Returns or sets the AutoShape type for a PictureFrame. There are allowable all items of the set ShapeType, except all sorts of lines:

ShapeType.Line,

ShapeType.StraightConnector1,

ShapeType.BentConnector2,

ShapeType.BentConnector3,

ShapeType.BentConnector4,

ShapeType.BentConnector5,

ShapeType.CurvedConnector2,

ShapeType.CurvedConnector3,

ShapeType.CurvedConnector4,

ShapeType.CurvedConnector5.

Read/write ShapeType.
(Inherited from PictureFrame.)
Public propertySlide
Returns the parent slide of a shape. Read-only IBaseSlide.
(Inherited from Shape.)
Public propertyThreeDFormat
Returns the ThreeDFormat object that 3d effect properties for a shape. Note: can return null for certain types of shapes which don't have 3d properties. Read-only IThreeDFormat.
(Inherited from Shape.)
Public propertyUniqueId
Gets unique shape identifier in presentation scope. Read-only UInt32. See also OfficeInteropShapeId for getting unique shape identifier in slide scope.
(Inherited from Shape.)
Public propertyVolume
Returns or sets the audio volume. Read/write AudioVolumeMode.
Public propertyWidth
Returns or sets the width of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyX
Returns or sets the x-coordinate of the upper-left corner of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyY
Returns or sets the y-coordinate of the upper-left corner of the shape. Read/write Single.
(Inherited from Shape.)
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.
(Inherited from Shape.)
Methods
  NameDescription
Public methodAddPlaceholder
Adds a new placeholder if there is no and sets placeholder properties to a specified one.
(Inherited from Shape.)
Public methodCreateEffectFormatEffective Obsolete.
Creates the EffectFormatEffectiveData object that contains all effects applyed to a shape, included inherited.
(Inherited from Shape.)
Public methodCreateFillFormatEffective Obsolete.
Creates the FillFormatEffectiveData object that contains all fill formatting properties for a shape, included inherited.
(Inherited from Shape.)
Public methodCreateLineFormatEffective Obsolete.
Creates the LineFormatEffectiveData object that contains all line formatting properties for a shape, included inherited.
(Inherited from Shape.)
Public methodCreateShapeElements
Creates and returns array of shape's elements.
(Inherited from GeometryShape.)
Public methodCreateThreeDFormatEffective Obsolete.
Creates the ThreeDFormatEffectiveData object that contains volume properties and 3D transformation of a shape, included inherited.
(Inherited from Shape.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetThumbnail
Returns shape thumbnail. ShapeThumbnailBounds.Shape shape thumbnail bounds type is used by default.
(Inherited from Shape.)
Public methodGetThumbnail(ShapeThumbnailBounds, Single, Single)
Returns shape thumbnail.
(Inherited from Shape.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemovePlaceholder
Defines that this shape isn't a placeholder.
(Inherited from Shape.)
Public methodToString (Inherited from Object.)
Public methodWriteAsSvg(Stream)
Saves content of Shape as SVG file.
(Inherited from Shape.)
Public methodWriteAsSvg(Stream, ISVGOptions)
Saves content of Shape as SVG file.
(Inherited from Shape.)
Fields
  NameDescription
Protected fieldm_fillFormat (Inherited from Shape.)
Protected fieldm_lineFormat (Inherited from Shape.)
See Also