PDFReadingParameter
The PDFReadingParameter
class represents the parameters for reading a PDF file. It contains the mode of PDF reading, the DPI (dots per inch) value, and the raster data source type.
Definition
Module: dynamsoft_core
class PDFReadingParameter(object)
Properties
Property | Type | Description |
---|---|---|
mode |
int | The mode used for PDF reading. This is one of the values of the EnumPDFReadingMode enumeration. |
dpi |
int | The DPI (dots per inch) value. |
raster_data_source |
int | The raster data source type. This is one of the values of the EnumRasterDataSource enumeration. |
Methods
Method | Description |
---|---|
__init__ |
Initializes a new instance of the PDFReadingParameter class. |
__init__
Initializes a new instance of the PDFReadingParameter
class.
def __init__(self):
Remarks
This constructor initializes the properties with default values:
mode
: 2 (EnumPDFReadingMode.PDFRM_RASTER.value)dpi
: 300raster_data_source
: 0 (EnumRasterDataSource.RDS_RASTERIZED_PAGES.value)