adobe.pdfservices.operation.pdfjobs.params.split_pdf package
Submodules
adobe.pdfservices.operation.pdfjobs.params.split_pdf.split_pdf_params module
- class adobe.pdfservices.operation.pdfjobs.params.split_pdf.split_pdf_params.SplitPDFParams(*, page_ranges: PageRanges | None = None, page_count: int | None = None, file_count: int | None = None)
Bases:
PDFServicesJobParams
Parameters for splitting a pdf using
SplitPDFJob
Constructs a new
SplitPDFParams
instance.- Parameters:
page_ranges (PageRanges) – see
PageRanges
. (Optional, use key-value)page_count (int) – The page count to be used for splitting pages. (Optional, use key-value)
file_count (int) – The file count to be used for splitting pages. (Optional, use key-value)
- Returns:
A new instance of SplitPDFParams
- Return type:
- get_file_count()
- Returns:
Returns the file count to be used for splitting pages.
- Return type:
int
- get_page_count()
- Returns:
Returns the page count to be used for splitting pages.
- Return type:
int
- get_page_ranges()
- Returns:
PageRanges to be used for splitting pages.
- Return type:
- json_hint = {'file_count': 'fileCount', 'page_count': 'pageCount', 'page_ranges': 'pageRanges'}
- to_json()