DocumentSplitter2Split Method (Stream, String, Boolean, Boolean, Boolean)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Splits PDF or TIFF document by found text.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public byte[][] Split( Stream sourceStream, string searchString, bool caseSensitive, bool useRegex, bool excludePageWithFoundText )
Parameters
- sourceStream
- Type: System.IOStream
The stream containing the input document. - searchString
- Type: SystemString
Search string. - caseSensitive
- Type: SystemBoolean
Case sensitivity. - useRegex
- Type: SystemBoolean
Set true if the [!:searchString] contains a regular expression. - excludePageWithFoundText
- Type: SystemBoolean
Whether to exclude the page with found search string from split parts.
Return Value
Type: ByteArray of file names of generated PDF documents or null (Nothing) if the search string is not found.
Implements
IDocumentSplitter2Split(Stream, String, Boolean, Boolean, Boolean)See Also