Click or drag to resize

PdfDocument Methods

The PdfDocument type exposes the following members.

Methods
  NameDescription
Public methodAddPage
Creates a new blank PDF page.
Public methodAddPage(PdfPage)
Creates a new PDF page as a copy of the specified source page.
Public methodBeginSave
Begin incremental save of PDF document to the specified file. Must call EndSave(PdfDocument) after all pages have been saved.
Public methodDispose
Close PDF document and release all resources.
Public methodEndSave
End the incremental save. No more pages can be added after this call.
Public methodGetPage
Gets the PDF page at the specified zero-based index.
Public methodSave(Stream, PdfDocument)
Save the PDF document to the specified stream.
Public methodSave(String, PdfDocument)
Save the PDF document to the specified file.
Public methodSavePage
Save the specified page. Pages should be saved in sequence as part of the incremental save.
Public methodSavePages
Saves all unsaved pages. More pages can still be added until EndSave(PdfDocument) is called.
Top
See Also