com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IAudioFrame

    • Method Detail

      • getAudioCdStartTrack

        int getAudioCdStartTrack()

        Returns or sets a start track index. Read/write int.

      • setAudioCdStartTrack

        void setAudioCdStartTrack(int value)

        Returns or sets a start track index. Read/write int.

      • getAudioCdStartTrackTime

        int getAudioCdStartTrackTime()

        Returns or sets a start track time. Read/write int.

      • setAudioCdStartTrackTime

        void setAudioCdStartTrackTime(int value)

        Returns or sets a start track time. Read/write int.

      • getAudioCdEndTrack

        int getAudioCdEndTrack()

        Returns or sets a last track index Read/write int.

      • setAudioCdEndTrack

        void setAudioCdEndTrack(int value)

        Returns or sets a last track index Read/write int.

      • getAudioCdEndTrackTime

        int getAudioCdEndTrackTime()

        Returns or sets a last track time. Read/write int.

      • setAudioCdEndTrackTime

        void setAudioCdEndTrackTime(int value)

        Returns or sets a last track time. Read/write int.

      • getVolume

        int getVolume()

        Returns or sets the audio volume. Read/write AudioVolumeMode.

      • setVolume

        void setVolume(int value)

        Returns or sets the audio volume. Read/write AudioVolumeMode.

      • getPlayMode

        int getPlayMode()

        Returns or sets the audio play mode. Read/write AudioPlayModePreset.

      • setPlayMode

        void setPlayMode(int value)

        Returns or sets the audio play mode. Read/write AudioPlayModePreset.

      • getHideAtShowing

        boolean getHideAtShowing()

        Determines whether an AudioFrame is hidden. Read/write boolean.

      • setHideAtShowing

        void setHideAtShowing(boolean value)

        Determines whether an AudioFrame is hidden. Read/write boolean.

      • getPlayLoopMode

        boolean getPlayLoopMode()

        Determines whether an audio is looped. Read/write boolean.

      • setPlayLoopMode

        void setPlayLoopMode(boolean value)

        Determines whether an audio is looped. Read/write boolean.

      • getPlayAcrossSlides

        boolean getPlayAcrossSlides()

        Determines whether an audio is playing across the slides. Read/write boolean.


          
          Presentation pres = new Presentation();
          try{
              ISlide slide = pres.getSlides().get_Item(0);
              // Add Audio Frame
              IAudioFrame audioFrame = slide.getShapes().addAudioFrameLinked(50, 50, 100, 100, "sampleaudio.wav");
              // Set Audio to play across the slides
              audioFrame.setPlayAcrossSlides(true);
              // Set Audio to automatically rewind to start after playing
              audioFrame.setRewindAudio(true);
              pres.save("AudioFrame_out.pptx", SaveFormat.Pptx);
          } finally {
              if (pres != null) pres.dispose();
          }
          
      • setPlayAcrossSlides

        void setPlayAcrossSlides(boolean value)

        Determines whether an audio is playing across the slides. Read/write boolean.


          
          Presentation pres = new Presentation();
          try{
              ISlide slide = pres.getSlides().get_Item(0);
              // Add Audio Frame
              IAudioFrame audioFrame = slide.getShapes().addAudioFrameLinked(50, 50, 100, 100, "sampleaudio.wav");
              // Set Audio to play across the slides
              audioFrame.setPlayAcrossSlides(true);
              // Set Audio to automatically rewind to start after playing
              audioFrame.setRewindAudio(true);
              pres.save("AudioFrame_out.pptx", SaveFormat.Pptx);
          } finally {
              if (pres != null) pres.dispose();
          }
          
      • getRewindAudio

        boolean getRewindAudio()

        Determines whether an audio is automatically rewinded to start after playing. Read/write boolean.


          
          Presentation pres = new Presentation();
          try{
              ISlide slide = pres.getSlides().get_Item(0);
              // Add Audio Frame
              IAudioFrame audioFrame = slide.getShapes().addAudioFrameLinked(50, 50, 100, 100, "sampleaudio.wav");
              // Set Audio to play across the slides
              audioFrame.setPlayAcrossSlides(true);
              // Set Audio to automatically rewind to start after playing
              audioFrame.setRewindAudio(true);
              pres.save("AudioFrame_out.pptx", SaveFormat.Pptx);
          } finally {
              if (pres != null) pres.dispose();
          }
          
      • setRewindAudio

        void setRewindAudio(boolean value)

        Determines whether an audio is automatically rewinded to start after playing. Read/write boolean.


          
          Presentation pres = new Presentation();
          try{
              ISlide slide = pres.getSlides().get_Item(0);
              // Add Audio Frame
              IAudioFrame audioFrame = slide.getShapes().addAudioFrameLinked(50, 50, 100, 100, "sampleaudio.wav");
              // Set Audio to play across the slides
              audioFrame.setPlayAcrossSlides(true);
              // Set Audio to automatically rewind to start after playing
              audioFrame.setRewindAudio(true);
              pres.save("AudioFrame_out.pptx", SaveFormat.Pptx);
          } finally {
              if (pres != null) pres.dispose();
          }
          
      • getEmbedded

        boolean getEmbedded()

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

      • getLinkPathLong

        java.lang.String getLinkPathLong()

        Returns or sets the name of an audio file which is linked to an AudioFrame. Read/write String.

      • setLinkPathLong

        void setLinkPathLong(java.lang.String value)

        Returns or sets the name of an audio file which is linked to an AudioFrame. Read/write String.

      • getEmbeddedAudio

        IAudio getEmbeddedAudio()

        Returns or sets embedded audio object. Read/write IAudio.

      • setEmbeddedAudio

        void setEmbeddedAudio(IAudio value)

        Returns or sets embedded audio object. Read/write IAudio.