Link Search Menu Expand Document

UnsearchablePDFMakerMakePDFUnsearchableToVariant Method (String)

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.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public Object MakePDFUnsearchableToVariant(
	string ranges
)

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: Object
Array of bytes as Object that is exposed to ActiveX/COM as array of objects of Variant datatype ('Variant()').

Implements

IUnsearchablePDFMakerMakePDFUnsearchableToVariant(String)
See Also

Reference