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(); }
Modifier and Type | Method and Description |
---|---|
INotesCommentsLayoutingOptions |
getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
|
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
INotesCommentsLayoutingOptions getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.