Click or drag to resize

PdfDocumentRepair Method (String, String, Stream, Stream, RepairOptions)

Repairs the PDF document in the Stream input, saving the repaired PDF to the Stream output.

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static void Repair(
	string userPassword,
	string ownerPassword,
	Stream input,
	Stream output,
	RepairOptions options
)

Parameters

userPassword
Type: SystemString
The user password for the document. Can be null.
ownerPassword
Type: SystemString
The owner password for the document. Can be null.
input
Type: System.IOStream
The stream containing the input PDF.
output
Type: System.IOStream
The stream to contain the output PDF.
options
Type: Atalasoft.PdfDoc.RepairRepairOptions
The repair options.
See Also