Click or drag to resize

IPdfDocument Interface

Interface of a PDF document.

Namespace:  Opait.Barcoder.Api
Assembly:  Opait.Barcoder (in Opait.Barcoder.dll) Version: 1.3.4.0
Syntax
C#
public interface IPdfDocument : IDisposable

The IPdfDocument type exposes the following members.

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(IPdfPage)
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(IPdfDocument) after all pages have been saved.
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, IPdfDocument)
Save the PDF document to the specified stream.
Public methodSave(String, IPdfDocument)
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(IPdfDocument) is called.
Top
See Also