DocumentSplitter2SplitToVariant Method
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 and returns the result PDF documents as array of byte arrays. This is COM/ActiveX-compatible version of the method Split(Stream, String, Boolean, Boolean, Boolean) for in-memory processing of PDF files.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public Object SplitToVariant( Object sourceDocument, string searchString, bool caseSensitive, bool useRegex, bool excludePageWithFoundText )
Parameters
- sourceDocument
- Type: SystemObject
Byte array of the source document as 'Variant()'. - 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: ObjectArray of byte arrays containing splitted parts which are presented as 'Variant()'.
Implements
IDocumentSplitter2SplitToVariant(Object, String, Boolean, Boolean, Boolean)See Also