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(); }
Constructor and Description |
---|
RenderingOptions()
Default constructor.
|
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
public final INotesCommentsLayoutingOptions getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
getNotesCommentsLayouting
in interface IRenderingOptions