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);
     FileOutputStream out = new FileOutputStream("pres-Original.png");
     pres.getSlides().get_Item(0).getThumbnail(renderingOpts).compress(android.graphics.Bitmap.CompressFormat.JPEG, 100, out);
     out.flush();
     out.close();
     renderingOpts.setDefaultRegularFont("Arial Black");
     FileOutputStream out = new FileOutputStream("pres-ArialBlackDefault.png");
     pres.getSlides().get_Item(0).getThumbnail(renderingOpts).compress(android.graphics.Bitmap.CompressFormat.JPEG, 100, out);
     out.flush();
     out.close();
     renderingOpts.setDefaultRegularFont("Arial Narrow");
     FileOutputStream out = new FileOutputStream("pres-ArialNarrowDefault.png");
     pres.getSlides().get_Item(0).getThumbnail(renderingOpts).compress(android.graphics.Bitmap.CompressFormat.JPEG, 100, out);
     out.flush();
     out.close();
 } catch (IOException e) {
 } finally {
     if (pres != null) pres.dispose();
 }

Constructors

ConstructorDescription
RenderingOptions()Default constructor.

Methods

MethodDescription
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