ConverterSetting module

class ConverterSetting.ConverterSetting

Bases: SpireObject

Convert Setting

property ClearCacheOnConverted: bool
property IgnoreErrorCalculateResult: bool

Ignore error calculate result when calculating formula. Default is false.

property IsCellAutoFit: bool

Indicates whether the width and height of the cells is automatically fitted by cell value. The default value is false.

property IsReCalculateOnConvert: bool
property IsRegionClip: bool

Enables or disables clipping the image to the region

property JPEGQuality: int

Gets or sets a value determining the quality.

property MaxConvertPages: int

Sets or gets the maximum number of pages for the conversion.

property PdfConformanceLevel: PdfConformanceLevel

Gets or sets the Pdf document’s Conformance-level.

property PrintWithSheetPageSetting: bool

If PrintWithSheetPageSetting = false(Default) . printing all pages with default page settings If PrintWithSheetPageSetting = true . printing each page with its owning sheet’s page settings

property SheetFitToPage: bool

One sheet context render to only one page.

property SheetFitToPageRetainPaperSize: bool

Gets or sets a value indicates whether retain paper size when to one sheet context render to only one page.

property SheetFitToWidth: bool

Sheet content fit to page width.

property ToImageWithoutMargins: bool

To image without margins. Default false.

property XDpi: int

Gets or sets the horizontal resolution, in dots per inch (DPI). Default value is 96.

property YDpi: int

Gets or sets the vertical resolution, in dots per inch (DPI). Default value is 96.