Click or drag to resize

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

Note: This API is now obsolete.

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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[ObsoleteAttribute("This method is obsolete. Use Repair(Stream input, Stream output, RepairOptions options, SecureString userPassword, SecureString ownerPassword) instead.", 
	false)]
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