com.aspose.slides
Class AudioFrame

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.PictureFrame
          extended by com.aspose.slides.AudioFrame

public final class AudioFrame
extends PictureFrame

Represents an AudioFrame shape.


Method Summary
 byte[] getAudioData()
           Returns embedded audio data.
 boolean getEmbedded()
           Determines whether the sound is embedded to a presentation.
 java.lang.String getFileName()
           Returns or sets the file from which the media object was created.
 boolean getLoopUntilStopped()
           Determines whether the sound loops continuously until either the next movie or sound starts, the user clicks the slide, or a slide transition occurs.
 boolean getRewindSound()
           Determines whether the sound is automatically rewinded to start as soon as the sound has finished playing.
 int getSoundLength()
           Returns or sets the length of embedded wav sound in milliseconds.
 void setFileName(java.lang.String value)
           
 void setLoopUntilStopped(boolean value)
           
 void setRewindSound(boolean value)
           
 void setSoundLength(int value)
           
 
Methods inherited from class com.aspose.slides.PictureFrame
addTextFrame, getBrightness, getColorType, getContrast, getCropBottom, getCropLeft, getCropRight, getCropTop, getPictureFileName, getPictureId, getPictureLinked, getRecolor, getTransparentColor, isPictureLinked, serialize, setBrightness, setColorType, setContrast, setCropBottom, setCropLeft, setCropRight, setCropTop, setPictureFileName, setPictureId, setTransparentColor
 
Methods inherited from class com.aspose.slides.Shape
addLink, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getFlipH, getFlipHorizontal, getFlipV, getFlipVertical, getHeight, getHidden, getLineFormat, getLink, getMasterShapeId, getName, getParent, getParentSlide, getPlaceholder, getProtection, getRotation, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipHorizontal, setFlipV, setFlipVertical, setHeight, setHidden, setName, setProtection, setRotation, setWidth, setX, setY, zOrder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEmbedded

public boolean getEmbedded()

Determines whether the sound is embedded to a presentation. Read-only bool.


getFileName

public java.lang.String getFileName()

Returns or sets the file from which the media object was created. Read/write string.


Used for linked audio files only. If the path isn't specified, the current working folder is used.


setFileName

public void setFileName(java.lang.String value)

getLoopUntilStopped

public boolean getLoopUntilStopped()

Determines whether the sound loops continuously until either the next movie or sound starts, the user clicks the slide, or a slide transition occurs. Read/write bool.


setLoopUntilStopped

public void setLoopUntilStopped(boolean value)

getSoundLength

public int getSoundLength()

Returns or sets the length of embedded wav sound in milliseconds. Read/write int.


setSoundLength

public void setSoundLength(int value)

getRewindSound

public boolean getRewindSound()

Determines whether the sound is automatically rewinded to start as soon as the sound has finished playing. Read/write bool.


setRewindSound

public void setRewindSound(boolean value)

getAudioData

public byte[] getAudioData()

Returns embedded audio data. Read-only byte[].


Used for embedded audio files only.