SaveOptions

Inheritance: java.lang.Object

public abstract class SaveOptions

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

Methods

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

getFontsSubsystem()

public final FontsSubsystem getFontsSubsystem()

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

Returns: FontsSubsystem

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

getPageIndex()

public final int getPageIndex()

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

Returns: int

getSaveFormat()

public int getSaveFormat()

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

Returns: int

setFontsSubsystem(FontsSubsystem value)

public final void setFontsSubsystem(FontsSubsystem value)

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

Parameters:

ParameterTypeDescription
valueFontsSubsystem

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

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