PdfSaveOptions

Inheritance: java.lang.Object, com.groupdocs.signature.options.saveoptions.SaveOptions

public class PdfSaveOptions extends SaveOptions

Save options for PDF documents.

Constructors

Constructor Description
PdfSaveOptions() Initializes a new instance of PdfSaveOptions class with default values.
PdfSaveOptions(int fileFormat) Initializes a new instance of PdfSaveOptions class with specified output file format.
PdfSaveOptions(boolean overwriteExistingFile) Initializes a new instance of PdfSaveOptions class with overwrite flag.
PdfSaveOptions(int fileFormat, boolean overwriteExistingFile) Initializes a new instance of PdfSaveOptions class with specified output file format and overwrite flag.

Methods

Method Description
getFileFormat() Gets or sets file format of signed document.
setFileFormat(int value) Gets or sets file format of signed document.
toString() Override string conversion.

PdfSaveOptions()

public PdfSaveOptions()

Initializes a new instance of PdfSaveOptions class with default values.

PdfSaveOptions(int fileFormat)

public PdfSaveOptions(int fileFormat)

Initializes a new instance of PdfSaveOptions class with specified output file format.

Parameters:

Parameter Type Description
fileFormat int Output file type PdfSaveFileFormat.

PdfSaveOptions(boolean overwriteExistingFile)

public PdfSaveOptions(boolean overwriteExistingFile)

Initializes a new instance of PdfSaveOptions class with overwrite flag.

Parameters:

Parameter Type Description
overwriteExistingFile boolean Flag whether to overwrite signed file with same file.

PdfSaveOptions(int fileFormat, boolean overwriteExistingFile)

public PdfSaveOptions(int fileFormat, boolean overwriteExistingFile)

Initializes a new instance of PdfSaveOptions class with specified output file format and overwrite flag.

Parameters:

Parameter Type Description
fileFormat int Output file type PdfSaveFileFormat.
overwriteExistingFile boolean Flag whether to overwrite signed file with same file.

getFileFormat()

public final int getFileFormat()

Gets or sets file format of signed document.

Returns: int

setFileFormat(int value)

public final void setFileFormat(int value)

Gets or sets file format of signed document.

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Override string conversion.

Returns: java.lang.String -