PDFDocument Class

Get PDFDocument and PDFPage to start drawing

Definition

Namespace: PCBI_API_Extensions.PDF
Assembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class PDFDocument : IDisposable
Inheritance
Object    PDFDocument
Implements
IDisposable

Constructors

PDFDocument Return an empty PDF Document, needs to be disposed!

Properties

Count How many pages there are
Pages List of pages in the document

Methods

AddPage Add a new page to the document
AddPage(PDFOrientation, PDFPageSize) Add a new page to the document with orientation and size
Combine Appends the document to the current document
CreateDocument Create a new PDF Document
Dispose Dispose the document => necessary
GetPageAt Get the page at the index
RemovePage Remove a page from the document, true if success
Save Save the document to a file
SetAuthor Set the Author of the document
SetCreator Set the Creator of the document

See Also