PdfDocumentRepair Method (Stream, Stream, RepairOptions, SecureString, SecureString) |
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 public static void Repair(
Stream input,
Stream output,
RepairOptions options,
SecureString userPassword,
SecureString ownerPassword
)
Public Shared Sub Repair (
input As Stream,
output As Stream,
options As RepairOptions,
userPassword As SecureString,
ownerPassword As SecureString
)
Parameters
- 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. - userPassword
- Type: System.SecuritySecureString
The user password for the document. Can be null. - ownerPassword
- Type: System.SecuritySecureString
The owner password for the document. Can be null.
See Also