public class HandoutLayoutingOptions extends java.lang.Object implements ISlidesLayoutOptions
Represents the handout presentation layout mode for export.
| Constructor and Description |
|---|
HandoutLayoutingOptions()
Initializes the default values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHandout()
Specifies how many slides and in what sequence will be placed on the page
HandoutType. |
boolean |
getPrintComments()
Specifies whether or not to display comments on slides
|
boolean |
getPrintFrameSlide()
Specifies whether to draw frames around the displayed slides or not.
|
boolean |
getPrintSlideNumbers()
Specifies whether or not to print the displayed slide numbers.
|
void |
setHandout(int value)
Specifies how many slides and in what sequence will be placed on the page
HandoutType. |
void |
setPrintComments(boolean value)
Specifies whether or not to display comments on slides
|
void |
setPrintFrameSlide(boolean value)
Specifies whether to draw frames around the displayed slides or not.
|
void |
setPrintSlideNumbers(boolean value)
Specifies whether or not to print the displayed slide numbers.
|
public HandoutLayoutingOptions()
Initializes the default values.
public final int getHandout()
Specifies how many slides and in what sequence will be placed on the page HandoutType.
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>HandoutType.Handouts6Horizontal</b>.
public final void setHandout(int value)
Specifies how many slides and in what sequence will be placed on the page HandoutType.
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>HandoutType.Handouts6Horizontal</b>.
public final boolean getPrintSlideNumbers()
Specifies whether or not to print the displayed slide numbers.
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); slidesLayoutOptions.setPrintSlideNumbers(false); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>true</b>.
public final void setPrintSlideNumbers(boolean value)
Specifies whether or not to print the displayed slide numbers.
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); slidesLayoutOptions.setPrintSlideNumbers(false); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>true</b>.
public final boolean getPrintFrameSlide()
Specifies whether to draw frames around the displayed slides or not.
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); slidesLayoutOptions.setPrintFrameSlide(false); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>true</b>.
public final void setPrintFrameSlide(boolean value)
Specifies whether to draw frames around the displayed slides or not.
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); slidesLayoutOptions.setPrintFrameSlide(false); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>true</b>.
public final boolean getPrintComments()
Specifies whether or not to display comments on slides
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); slidesLayoutOptions.setPrintComments(false); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>false</b>.
public final void setPrintComments(boolean value)
Specifies whether or not to display comments on slides
Example:Presentation pres = new Presentation("pres.pptx"); try { RenderingOptions options = new RenderingOptions(); HandoutLayoutingOptions slidesLayoutOptions = new HandoutLayoutingOptions(); slidesLayoutOptions.setHandout(HandoutType.Handouts4Horizontal); slidesLayoutOptions.setPrintComments(false); options.setSlidesLayoutOptions(slidesLayoutOptions); ImageIO.write(pres.getSlides().get_Item(0).getThumbnail(options, new Dimension(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
<b>false</b>.
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.