SplitOptions

SplitOptions class

Provides options for the document page splitting.

public class SplitOptions : PageOptions, ISplitOptions

Constructors

Name Description
SplitOptions(CreateSplitStream) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, int[]) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, ReleaseSplitStream) Initializes a new instance of the SplitOptions class.
SplitOptions(string, int[]) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, int, int) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, int[], SplitMode) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, ReleaseSplitStream, int[]) Initializes a new instance of the SplitOptions class.
SplitOptions(string, int, int) Initializes a new instance of the SplitOptions class.
SplitOptions(string, int[], SplitMode) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, int, int, RangeMode) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, ReleaseSplitStream, int, int) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, ReleaseSplitStream, int[], SplitMode) Initializes a new instance of the SplitOptions class.
SplitOptions(string, int, int, RangeMode) Initializes a new instance of the SplitOptions class.
SplitOptions(CreateSplitStream, ReleaseSplitStream, int, int, RangeMode) Initializes a new instance of the SplitOptions class.

Properties

Name Description
CreateStream { get; } Delegate that defines method to create output split stream.
Mode { get; } Gets the mode for page splitting.
Pages { get; } Get page numbers collection.
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 pre-defined extension.
Validate(FileType) Validates the split options.

See Also