SplitOptions constructor
Contents
[
Hide
]
init
Initializes a new instance of the SplitOptions class.
def __init__(self, file_path_format, page_numbers):
...
| Parameter | Type | Description |
|---|---|---|
| file_path_format | str | The file path format e.g. ‘c:/split{0}.doc’ or ‘c:/split{0}.{1}’ with already pre-defined extension. |
| page_numbers | list | Page numbers. |
init
Initializes a new instance of the SplitOptions class.
def __init__(self, file_path_format, page_numbers, split_mode):
...
| Parameter | Type | Description |
|---|---|---|
| file_path_format | str | The file path format e.g. ‘c:/split{0}.doc’ or ‘c:/split{0}.{1}’ with already pre-defined extension. |
| page_numbers | list | Page numbers. |
| split_mode | SplitMode |
The splitting mode of SplitOptions.mode. |
init
Initializes a new instance of the SplitOptions class.
def __init__(self, file_path_format, start_number, end_number):
...
| Parameter | Type | Description |
|---|---|---|
| file_path_format | str | The file path format e.g. ‘c:/split{0}.doc’ or ‘c:/split{0}.{1}’ with already pre-defined extension. |
| start_number | int | The start page number. |
| end_number | int | The end page number. |
init
Initializes a new instance of the SplitOptions class.
def __init__(self, file_path_format, start_number, end_number, mode):
...
| Parameter | Type | Description |
|---|---|---|
| file_path_format | str | The file path format e.g. ‘c:/split{0}.doc’ or ‘c:/split{0}.{1}’ with already pre-defined extension. |
| start_number | int | The start page number. |
| end_number | int | The end page number. |
| mode | RangeMode |
The range mode. |
See Also
- module
groupdocs.merger.domain.options - class
SplitOptions