PdfSaveOptions constructor

init

Initializes a new instance of the PdfSaveOptions class with default values for flags SuppressErrors (true) and Debug (false).

def __init__(self):
    ...

init

Initializes a new instance of the PdfSaveOptions class with default values for flag Debug (false).

def __init__(self, supress_errors):
    ...
ParameterTypeDescription
supress_errorsboolSpecifies whether errors must be suppressed or not.
If true suppressed errors are added to Exceptions list.

init

Initializes a new instance of the PdfSaveOptions with with specified size of the page.

def __init__(self, size):
    ...
ParameterTypeDescription
sizeaspose.page.drawing.SizeThe page size.

init

Initializes a new instance of the PdfSaveOptions class with default values for flag Debug (false) and with specified size of the page.

def __init__(self, supress_errors, size):
    ...
ParameterTypeDescription
supress_errorsboolSpecifies whether errors must be suppressed or not.
If true suppressed errors are added to Exceptions list.
sizeaspose.page.drawing.SizeThe page size.

See Also