Click or drag to resize

PdfDocument Class

Document represents a PDF document for managing barcodes.
Inheritance Hierarchy
SystemObject
  Opait.Barcode.PdfPdfDocument

Namespace:  Opait.Barcode.Pdf
Assembly:  Opait.Barcode (in Opait.Barcode.dll) Version: 1.2.0.0
Syntax
C#
public sealed class PdfDocument : IDisposable

The PdfDocument type exposes the following members.

Constructors
  NameDescription
Public methodPdfDocument
Initializes a new instance for creating a PDF document.
Public methodPdfDocument(String, String)
Initializes a new instance by opening an existing PDF file.
Top
Properties
  NameDescription
Public propertyPageCount
Gets the number of pages in the PDF file.
Top
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