XpsOptions

XpsOptions class

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

XpsOptions

NameDescription
XpsOptions()Default constructor.

Result: XpsOptions


getDefaultRegularFont

NameDescription
getDefaultRegularFont()Returns or sets font used in case source font is not found. Read-write String.

Result: String


getDrawSlidesFrame

NameDescription
getDrawSlidesFrame()True to draw black frame around each slide. Read/write boolean. Default is false.

Result: boolean


getProgressCallback

NameDescription
getProgressCallback()Represents a callback object for saving progress updates in percentage. See IProgressCallback.

Result: IProgressCallback


getSaveMetafilesAsPng

NameDescription
getSaveMetafilesAsPng()True to convert all metafiles used in a presentation to the PNG images. Read/write boolean. Default is true.

Result: boolean


getShowHiddenSlides

NameDescription
getShowHiddenSlides()Specifies whether the generated document should include hidden slides or not. Default is false.

Result: boolean


getWarningCallback

NameDescription
getWarningCallback()Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.

Result: IWarningCallback


setDefaultRegularFont

NameDescription
setDefaultRegularFont(String)Returns or sets font used in case source font is not found. Read-write String.

setDrawSlidesFrame

NameDescription
setDrawSlidesFrame(boolean)True to draw black frame around each slide. Read/write boolean. Default is false.

setProgressCallback

NameDescription
setProgressCallback(IProgressCallback)Represents a callback object for saving progress updates in percentage. See IProgressCallback.

setSaveMetafilesAsPng

NameDescription
setSaveMetafilesAsPng(boolean)True to convert all metafiles used in a presentation to the PNG images. Read/write boolean. Default is true.

setShowHiddenSlides

NameDescription
setShowHiddenSlides(boolean)Specifies whether the generated document should include hidden slides or not. Default is false.

setWarningCallback

NameDescription
setWarningCallback(IWarningCallback)Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.