com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IGifOptions

    • Method Detail

      • getFrameSize

        java.awt.Dimension getFrameSize()

        Gets or sets frame size.


        If the size is empty then the value will be taken from (IPresentation.getSlideSize())
      • setFrameSize

        void setFrameSize(java.awt.Dimension value)

        Gets or sets frame size.


        If the size is empty then the value will be taken from (IPresentation.getSlideSize())
      • getExportHiddenSlides

        boolean getExportHiddenSlides()

        Determines whether hidden slides will be exported. The default value is false.


         
         Presentation pres = new Presentation("pres.pptx");
         try {
             GifOptions gifOptions = new GifOptions();
             gifOptions.setExportHiddenSlides(false);
             pres.save("pres.gif", SaveFormat.Gif, gifOptions);
         } finally {
             if (pres != null) pres.dispose();
         }
         
      • setExportHiddenSlides

        void setExportHiddenSlides(boolean value)

        Determines whether hidden slides will be exported. The default value is false.


         
         Presentation pres = new Presentation("pres.pptx");
         try {
             GifOptions gifOptions = new GifOptions();
             gifOptions.setExportHiddenSlides(false);
             pres.save("pres.gif", SaveFormat.Gif, gifOptions);
         } finally {
             if (pres != null) pres.dispose();
         }
         
      • getTransitionFps

        int getTransitionFps()

        Gets or sets transition FPS [frames/sec] The default value is 25.


         
         Presentation pres = new Presentation("pres.pptx");
         try {
             GifOptions gifOptions = new GifOptions();
             gifOptions.setTransitionFps(60);
             pres.save("pres.gif", SaveFormat.Gif, gifOptions);
         } finally {
             if (pres != null) pres.dispose();
         }
         
      • setTransitionFps

        void setTransitionFps(int value)

        Gets or sets transition FPS [frames/sec] The default value is 25.


         
         Presentation pres = new Presentation("pres.pptx");
         try {
             GifOptions gifOptions = new GifOptions();
             gifOptions.setTransitionFps(60);
             pres.save("pres.gif", SaveFormat.Gif, gifOptions);
         } finally {
             if (pres != null) pres.dispose();
         }
         
      • getDefaultDelay

        int getDefaultDelay()

        Gets or sets default delay time [ms]. This value will be used if ISlideShowTransition.AdvanceAfterTime(ISlideShowTransition.getAdvanceAfterTime()/ISlideShowTransition.setAdvanceAfterTime(long)) is not set. The default value is 1000.


         
         Presentation pres = new Presentation("pres.pptx");
         try {
             GifOptions gifOptions = new GifOptions();
             gifOptions.setDefaultDelay(2000);
             pres.save("pres.gif", SaveFormat.Gif, gifOptions);
         } finally {
             if (pres != null) pres.dispose();
         }
         
      • setDefaultDelay

        void setDefaultDelay(int value)

        Gets or sets default delay time [ms]. This value will be used if ISlideShowTransition.AdvanceAfterTime(ISlideShowTransition.getAdvanceAfterTime()/ISlideShowTransition.setAdvanceAfterTime(long)) is not set. The default value is 1000.


         
         Presentation pres = new Presentation("pres.pptx");
         try {
             GifOptions gifOptions = new GifOptions();
             gifOptions.setDefaultDelay(2000);
             pres.save("pres.gif", SaveFormat.Gif, gifOptions);
         } finally {
             if (pres != null) pres.dispose();
         }