XpsOptions

Inheritance: java.lang.Object, com.aspose.slides.SaveOptions

All Implemented Interfaces: com.aspose.slides.IXpsOptions

public class XpsOptions extends SaveOptions implements IXpsOptions

Provides options that control how a presentation is saved in XPS format.

Constructors

Constructor Description
XpsOptions() Default constructor.

Methods

Method Description
getShowHiddenSlides() Specifies whether the generated document should include hidden slides or not.
setShowHiddenSlides(boolean value) Specifies whether the generated document should include hidden slides or not.
getSaveMetafilesAsPng() True to convert all metafiles used in a presentation to the PNG images.
setSaveMetafilesAsPng(boolean value) True to convert all metafiles used in a presentation to the PNG images.
getDrawSlidesFrame() True to draw black frame around each slide.
setDrawSlidesFrame(boolean value) True to draw black frame around each slide.

XpsOptions()

public XpsOptions()

Default constructor.

getShowHiddenSlides()

public final boolean getShowHiddenSlides()

Specifies whether the generated document should include hidden slides or not. Default is false.

Returns: boolean

setShowHiddenSlides(boolean value)

public final void setShowHiddenSlides(boolean value)

Specifies whether the generated document should include hidden slides or not. Default is false.

Parameters:

Parameter Type Description
value boolean

getSaveMetafilesAsPng()

public final boolean getSaveMetafilesAsPng()

True to convert all metafiles used in a presentation to the PNG images. Read/write boolean.


Default is true.

Returns: boolean

setSaveMetafilesAsPng(boolean value)

public final void setSaveMetafilesAsPng(boolean value)

True to convert all metafiles used in a presentation to the PNG images. Read/write boolean.


Default is true.

Parameters:

Parameter Type Description
value boolean

getDrawSlidesFrame()

public final boolean getDrawSlidesFrame()

True to draw black frame around each slide. Read/write boolean.


Default is false.

Returns: boolean

setDrawSlidesFrame(boolean value)

public final void setDrawSlidesFrame(boolean value)

True to draw black frame around each slide. Read/write boolean.


Default is false.

Parameters:

Parameter Type Description
value boolean