Click or drag to resize

PdfDocument Methods

The PdfDocument type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the PdfDocument's underlying stream, invalidates all pages, and clears the Pages collection.
Public methodStatic memberCombine(Stream, Stream)
Combines one or more streams containing PDF documents into a single stream.
Public methodStatic memberCombine(Stream, String)
Combines one or more paths containing PDF documents into a single stream.
Public methodStatic memberCombine(String, String)
Combines one or more files containing PDF documents into a single file.
Public methodStatic memberCombine(String, Stream, Stream)
Combines one or more streams containing PDF documents into a single stream and encrypts the document with the supplied password.
Public methodStatic memberCombine(String, Stream, String)
Combines one or more paths containing PDF documents into a single stream and encrypts the document with the supplied password.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRepair(Stream, Stream, RepairOptions)
Repairs the PDF document in the Stream input, saving the repaired PDF to the Stream output.
Public methodStatic memberRepair(String, String, RepairOptions)
Repairs the PDF document in file intputPath, saving the repaired PDF to the file outputPath.
Public methodStatic memberRepair(String, String, Stream, Stream, RepairOptions)
Repairs the PDF document in the Stream input, saving the repaired PDF to the Stream output.
Public methodStatic memberRepair(String, String, String, String, RepairOptions)
Repairs the PDF document in file intputPath, saving the repaired PDF to the file outputPath.
Public methodSave(Stream)
Saves a PdfDocument into the supplied stream.
Public methodSave(String)
Saves a PdfDocument to a new file.
Public methodSave(Stream, PdfSaveOptions)
Saves a PdfDocument into the supplied stream.
Public methodSave(String, PdfSaveOptions)
Saves a PdfDocument to a new file.
Public methodSave(String, Stream) Obsolete.
Saves a PdfDocument into the supplied stream, encrypting with the supplied password.
Public methodSave(String, String) Obsolete.
Saves a PdfDocument into a new file encrypting with the supplied password.
Public methodSave(String, String, Stream) Obsolete.
Saves a PdfDocument into a stream encrypting with the supplied passwords.
Public methodSave(String, String, String) Obsolete.
Saves a PdfDocument into a new file encrypting with the supplied passwords.
Public methodStatic memberCode exampleSeparate(String, String, Stream, PdfStreamCreator)
Separates a single PDF into multiple files: one file per page.
Public methodStatic memberCode exampleSeparate(String, String, String, String, String, Boolean)
Separates a single PDF into multiple files: one file per page.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also