com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IRenderingOptions

  • All Superinterfaces:
    ISaveOptions
    All Known Implementing Classes:
    RenderingOptions


    public interface IRenderingOptions
    extends ISaveOptions

    Provides options that control how a presentation/slide is rendered.


     Presentation pres = new Presentation("pres.pptx");
     try {
         IRenderingOptions renderingOpts = new RenderingOptions();
         renderingOpts.getNotesCommentsLayouting().setNotesPosition(NotesPositions.BottomTruncated);
    
         ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(renderingOpts), "PNG", new File("pres-Original.png"));
    
         renderingOpts.setDefaultRegularFont("Arial Black");
         ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(renderingOpts), "PNG", new File("pres-ArialBlackDefault.png"));
    
         renderingOpts.setDefaultRegularFont("Arial Narrow");
         ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(renderingOpts), "PNG", new File("pres-ArialNarrowDefault.png"));
     } finally {
         if (pres != null) pres.dispose();
     }
     
    • Method Detail

      • getNotesCommentsLayouting

        INotesCommentsLayoutingOptions getNotesCommentsLayouting()

        Provides options that control how notes and comments is placed in exported document.