PdfDocument Class |
Namespace: Opait.Barcode.Pdf
public sealed class PdfDocument : IDisposable
The PdfDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfDocument |
Initializes a new instance for creating a PDF document.
| |
| PdfDocument(String, String) |
Initializes a new instance by opening an existing PDF file.
|
| Name | Description | |
|---|---|---|
| AddPage |
Creates a new blank PDF page.
| |
| AddPage(PdfPage) |
Creates a new PDF page as a copy of the specified source page.
| |
| BeginSave |
Begin incremental save of PDF document to the specified file.
Must call EndSave(PdfDocument) after all pages have been saved.
| |
| Dispose |
Close PDF document and release all resources.
| |
| EndSave |
End the incremental save. No more pages can be added after this call.
| |
| GetPage |
Gets the PDF page at the specified zero-based index.
| |
| Save(Stream, PdfDocument) |
Save the PDF document to the specified stream.
| |
| Save(String, PdfDocument) |
Save the PDF document to the specified file.
| |
| SavePage |
Save the specified page. Pages should be saved in sequence as part
of the incremental save.
| |
| SavePages |
Saves all unsaved pages. More pages can still be added until EndSave(PdfDocument) is called.
|