SaveOptions

Inheritance: java.lang.Object

public abstract class SaveOptions

An abstract base class which represents document saving options for a particular format.

Methods

MethodDescription
getSaveFormat()Gets or sets the format in which the document is saved.
getFontsSubsystem()Gets or sets font’s settings to be used while saving
setFontsSubsystem(FontsSubsystem value)Gets or sets font’s settings to be used while saving
getPageIndex()Gets or sets the index of the first page to save.
setPageIndex(int value)Gets or sets the index of the first page to save.
getPageCount()Gets or sets the number of pages to save.
setPageCount(int value)Gets or sets the number of pages to save.

getSaveFormat()

public int getSaveFormat()

Gets or sets the format in which the document is saved.

Returns: int

getFontsSubsystem()

public final FontsSubsystem getFontsSubsystem()

Gets or sets font’s settings to be used while saving

Returns: FontsSubsystem

setFontsSubsystem(FontsSubsystem value)

public final void setFontsSubsystem(FontsSubsystem value)

Gets or sets font’s settings to be used while saving

Parameters:

ParameterTypeDescription
valueFontsSubsystem

getPageIndex()

public final int getPageIndex()

Gets or sets the index of the first page to save. By default is 0.

Returns: int

setPageIndex(int value)

public final void setPageIndex(int value)

Gets or sets the index of the first page to save. By default is 0.

Parameters:

ParameterTypeDescription
valueint

getPageCount()

public final int getPageCount()

Gets or sets the number of pages to save. By default is {@link int#Int32Extensions.MaxValue} which means all pages of the document will be rendered.

Returns: int

setPageCount(int value)

public final void setPageCount(int value)

Gets or sets the number of pages to save. By default is {@link int#Int32Extensions.MaxValue} which means all pages of the document will be rendered.

Parameters:

ParameterTypeDescription
valueint