HandoutLayoutingOptions
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.ISlidesLayoutOptions
public class HandoutLayoutingOptions implements ISlidesLayoutOptions
Represents the handout presentation layout mode for export.
Constructors
| Constructor | Description |
|---|---|
| HandoutLayoutingOptions() | Initializes the default values. |
Methods
| Method | Description |
|---|---|
| getHandout() | Specifies how many slides and in what sequence will be placed on the page HandoutType. |
| setHandout(int value) | Specifies how many slides and in what sequence will be placed on the page HandoutType. |
| getPrintSlideNumbers() | Specifies whether or not to print the displayed slide numbers. |
| setPrintSlideNumbers(boolean value) | Specifies whether or not to print the displayed slide numbers. |
| getPrintFrameSlide() | Specifies whether to draw frames around the displayed slides or not. |
| setPrintFrameSlide(boolean value) | Specifies whether to draw frames around the displayed slides or not. |
| getPrintComments() | Specifies whether or not to display comments on slides |
| setPrintComments(boolean value) | Specifies whether or not to display comments on slides |
HandoutLayoutingOptions()
public HandoutLayoutingOptions()
Initializes the default values.
getHandout()
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is HandoutType.Handouts6Horizontal .
Returns: int
setHandout(int value)
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is HandoutType.Handouts6Horizontal .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getPrintSlideNumbers()
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is true .
Returns: boolean
setPrintSlideNumbers(boolean value)
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is true .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
getPrintFrameSlide()
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is true .
Returns: boolean
setPrintFrameSlide(boolean value)
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is true .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
getPrintComments()
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is false .
Returns: boolean
setPrintComments(boolean value)
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 com.aspose.slides.android.Size(1920, 1080)), "PNG", new java.io.File("pres-handout.png")); } finally { if (pres != null) pres.dispose(); }
Default value is false .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |