RenderingOptions

Inheritance: java.lang.Object, com.aspose.slides.SaveOptions

All Implemented Interfaces: com.aspose.slides.IRenderingOptions

public class RenderingOptions extends SaveOptions implements IRenderingOptions

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();
 }

Constructors

Constructor Description
RenderingOptions() Default constructor.

Methods

Method Description
getNotesCommentsLayouting() Provides options that control how notes and comments is placed in exported document.

RenderingOptions()

public RenderingOptions()

Default constructor.

getNotesCommentsLayouting()

public final INotesCommentsLayoutingOptions getNotesCommentsLayouting()

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

Returns: INotesCommentsLayoutingOptions