Click or drag to resize
XLSXDocumentSplitDocument Method (Stream, Int32, Stream)
split a document to some documents by giving the page/sheet index list; the documents count equals the split index list count add 1,so the out documents count equals 2;

Namespace: RasterEdge.Imaging.MSExcel
Assembly: RasterEdge.Imaging.MSExcel (in RasterEdge.Imaging.MSExcel.dll) Version: 9.8.0.50811 (9.8.0.50811)
Syntax
public static void SplitDocument(
	Stream source,
	int splitIndex,
	Stream[] streams
)

Parameters

source
Type: System.IOStream
the source document ready to split through stream
splitIndex
Type: SystemInt32
the split page/sheet index,should be lower than the total pages
streams
Type: System.IOStream
the split documents output streams
See Also