IUnsearchablePDFMakerMakePDFUnsearchable Method (Stream, String)ByteScout PDF Extractor SDK
Replaces specified PDF document page ranges with rendered images making them not suitable for text searching and saves the result to specified Stream.

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 12.0.0.4062-master
Syntax

void MakePDFUnsearchable(
	Stream outputStream,
	string ranges
)

Parameters

outputStream
Type: System.IOStream
Output stream.
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".
See Also

Reference