TextSplitOptions

TextSplitOptions class

Provides options for the document text splitting.

public class TextSplitOptions : ITextSplitOptions

Constructors

Name Description
TextSplitOptions(CreateSplitStream, int[]) Initializes a new instance of the TextSplitOptions class.
TextSplitOptions(string, int[]) Initializes a new instance of the TextSplitOptions class.
TextSplitOptions(CreateSplitStream, ReleaseSplitStream, int[]) Initializes a new instance of the TextSplitOptions class.
TextSplitOptions(CreateSplitStream, TextSplitMode, int[]) Initializes a new instance of the TextSplitOptions class.
TextSplitOptions(string, TextSplitMode, int[]) Initializes a new instance of the TextSplitOptions class.
TextSplitOptions(CreateSplitStream, ReleaseSplitStream, TextSplitMode, int[]) Initializes a new instance of the TextSplitOptions class.

Properties

Name Description
CreateStream { get; } Delegate that defines method to create output split stream.
LineNumbers { get; } Line numbers for text splitting.
Mode { get; } Mode for text splitting.
ReleaseStream { get; } Delegate that defines method to release output split stream.

Methods

Name Description
GetPathByIndex(int, string) Gets the full file path of splitted document by index with defined extension.
Validate(FileType) Validates the split options.

See Also