TextSplitOptions constructor

init

Initializes a new instance of the TextSplitOptions class.

def __init__(self, file_path_format, line_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 defined extension.
line_numbers list Line numbers for text splitting.

init

Initializes a new instance of the TextSplitOptions class.

def __init__(self, file_path_format, mode, line_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 defined extension.
mode TextSplitMode Mode for text splitting.
line_numbers list Line numbers for text splitting.

See Also