UnsearchablePDFMakerMakePDFUnsearchableToVariant Method (String)
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
Replaces specified PDF document page ranges with rendered images making them not suitable for text searching and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method MakePDFUnsearchable(Stream, String).
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
Parameters
- ranges
- Type: SystemString
Comma-separated list of page ranges in form "1-4,5,7,8-15,16-". Page numbers are 1-based. Ending "-" means "to the last page". You can also use inverted page numbers adding '!' before the number. E.g. "!1" means "the last page", "2-!2" means "from the second to the penultimate page", "!2-" - last two pages".
Return Value
Type: ObjectArray of bytes as Object that is exposed to ActiveX/COM as array of objects of Variant datatype ('Variant()').
Implements
IUnsearchablePDFMakerMakePDFUnsearchableToVariant(String)See Also