com.aspose.slides.pptx
Class AudioFrameEx

java.lang.Object
  extended by com.aspose.slides.pptx.ShapeEx
      extended by com.aspose.slides.pptx.GeometryShapeEx
          extended by com.aspose.slides.pptx.PictureFrameEx
              extended by com.aspose.slides.pptx.AudioFrameEx
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public class AudioFrameEx
extends PictureFrameEx

Represents an audio clip on a slide.


Method Summary
 int getAudioCdEndTrack()
          Returns the number of the last played track on Audio CD.
 int getAudioCdEndTrackTime()
          Returns the time when a track on Audio CD stops to play.
 int getAudioCdStartTrack()
          Returns the number of the first played track on Audio CD.
 int getAudioCdStartTrackTime()
          Returns the time from which a track on Audio CD starts to play.
 byte[] getAudioData()
          Returns the embedded audio data as byte array.
 ImageEx getImage()
          Returns an AudioFrame image.
 java.lang.String getLinkPathLong()
          Returns the name of an audio file which is linked to an AudioFrame.
 AudioPlayModePresetEx getPlayMode()
          Returns the audio play mode.
 AudioVolumeModeEx getVolume()
          Returns the audio volume.
 boolean isEmbedded()
          Determines whether a sound is embedded to a presentation.
 boolean isHideAtShowing()
          Determines whether an AudioFrame is hidden.
 boolean isPlayLoopMode()
          Determines whether an audio is looped.
 void setAudioCdEndTrack(int value)
          Sets the number of the last played track on Audio CD.
 void setAudioCdEndTrackTime(int value)
          Sets the time when a track on Audio CD stops to play.
 void setAudioCdStartTrack(int value)
          Sets the number of the first played track on Audio CD.
 void setAudioCdStartTrackTime(int value)
          Sets the time from which a track on Audio CD starts to play.
 void setAudioData(byte[] value)
          Sets the embedded audio data.
 void setHideAtShowing(boolean value)
          Sets whether an AudioFrame is hidden.
 void setImage(ImageEx value)
          Sets an AudioFrame image.
 void setLinkPathLong(java.lang.String value)
          Sets the name of an audio file which is linked to an AudioFrame.
 void setPlayLoopMode(boolean value)
          Sets whether an audio is looped.
 void setPlayMode(AudioPlayModePresetEx value)
          Sets the audio play mode.
 void setVolume(AudioVolumeModeEx value)
          Sets the audio volume.
 
Methods inherited from class com.aspose.slides.pptx.PictureFrameEx
getPictureFormat, getShapeLock, getShapeType, setShapeType
 
Methods inherited from class com.aspose.slides.pptx.GeometryShapeEx
getShapeStyle
 
Methods inherited from class com.aspose.slides.pptx.ShapeEx
createPropertiesElements, getAlternativeText, getEffectFormat, getFillFormat, getFrame, getHeight, getHLinkClick, getHLinkMouseOver, getLineFormat, getName, getNonVisualPropElement, getParent, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeId, getSlide, getTags, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, isHidden, isTextHolder, setAlternativeText, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAudioCdStartTrack

public int getAudioCdStartTrack()
Returns the number of the first played track on Audio CD.


setAudioCdStartTrack

public void setAudioCdStartTrack(int value)
Sets the number of the first played track on Audio CD.

Parameters:
value - number of the track.

getAudioCdStartTrackTime

public int getAudioCdStartTrackTime()
Returns the time from which a track on Audio CD starts to play.


setAudioCdStartTrackTime

public void setAudioCdStartTrackTime(int value)
Sets the time from which a track on Audio CD starts to play.

Parameters:
value - start time.

getAudioCdEndTrack

public int getAudioCdEndTrack()
Returns the number of the last played track on Audio CD.


setAudioCdEndTrack

public void setAudioCdEndTrack(int value)
Sets the number of the last played track on Audio CD.

Parameters:
value - number of the track.

getAudioCdEndTrackTime

public int getAudioCdEndTrackTime()
Returns the time when a track on Audio CD stops to play.


setAudioCdEndTrackTime

public void setAudioCdEndTrackTime(int value)
Sets the time when a track on Audio CD stops to play.

Parameters:
value - stop time.

getVolume

public AudioVolumeModeEx getVolume()
Returns the audio volume. See AudioVolumeModeEx.


setVolume

public void setVolume(AudioVolumeModeEx value)
Sets the audio volume.

Parameters:
value - new audio volume. See AudioVolumeModeEx.

getPlayMode

public AudioPlayModePresetEx getPlayMode()
Returns the audio play mode. See AudioPlayModePresetEx.


setPlayMode

public void setPlayMode(AudioPlayModePresetEx value)
Sets the audio play mode.

Parameters:
value - new audio play mode. See AudioPlayModePresetEx.

isHideAtShowing

public boolean isHideAtShowing()
Determines whether an AudioFrame is hidden.


setHideAtShowing

public void setHideAtShowing(boolean value)
Sets whether an AudioFrame is hidden.

Parameters:
value - true to hide an AudioFrame.

isPlayLoopMode

public boolean isPlayLoopMode()
Determines whether an audio is looped.


setPlayLoopMode

public void setPlayLoopMode(boolean value)
Sets whether an audio is looped.

Parameters:
value - true to loop an audio.

getImage

public ImageEx getImage()
Returns an AudioFrame image. See ImageEx.


setImage

public void setImage(ImageEx value)
Sets an AudioFrame image.

Parameters:
value - new image. See ImageEx.

isEmbedded

public boolean isEmbedded()
Determines whether a sound is embedded to a presentation.


getLinkPathLong

public java.lang.String getLinkPathLong()
Returns the name of an audio file which is linked to an AudioFrame.


setLinkPathLong

public void setLinkPathLong(java.lang.String value)
Sets the name of an audio file which is linked to an AudioFrame.

Parameters:
value - new file name.

getAudioData

public byte[] getAudioData()
Returns the embedded audio data as byte array.


setAudioData

public void setAudioData(byte[] value)
Sets the embedded audio data.

Parameters:
value - new audio data as byte array.