PageSavingArgs

Inheritance: java.lang.Object

public final class PageSavingArgs

This class represents set of data that related to saving of document’s page to a stream.

Methods

MethodDescription
getKeepStreamOpen()Gets a value indicating whether rendering routine should keep Stream(getStream()/setStream(java.io.OutputStream)) opened after a page is written.
getPageNumber()Gets a number of page to be written.
getStream()Gets a stream for writing a page.
setKeepStreamOpen(boolean value)Sets a value indicating whether rendering routine should keep Stream(getStream()/setStream(java.io.OutputStream)) opened after a page is written.
setStream(OutputStream value)Sets a stream for writing a page.

getKeepStreamOpen()

public final boolean getKeepStreamOpen()

Gets a value indicating whether rendering routine should keep Stream(getStream()/setStream(java.io.OutputStream)) opened after a page is written.

Returns: boolean - a value indicating whether rendering routine should keep Stream(getStream()/setStream(java.io.OutputStream)) opened after a page is written.

getPageNumber()

public final int getPageNumber()

Gets a number of page to be written.

Returns: int - a number of page to be written.

getStream()

public final OutputStream getStream()

Gets a stream for writing a page.

Returns: java.io.OutputStream - a stream for writing a page.

setKeepStreamOpen(boolean value)

public final void setKeepStreamOpen(boolean value)

Sets a value indicating whether rendering routine should keep Stream(getStream()/setStream(java.io.OutputStream)) opened after a page is written.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether rendering routine should keep Stream(getStream()/setStream(java.io.OutputStream)) opened after a page is written.

setStream(OutputStream value)

public final void setStream(OutputStream value)

Sets a stream for writing a page.

Parameters:

ParameterTypeDescription
valuejava.io.OutputStreama stream for writing a page.