Table of Contents

Namespace MiPdf

Classes

AnnotationOptions

Common properties of new annotations.

PageSize

Common page sizes in points (1 pt = 1/72 inch).

PdfAnnotation

A read/write view of an annotation dictionary.

PdfAttachment

A file embedded in the document (attachment).

PdfDate

Conversion between DateTimeOffset and PDF date strings (D:YYYYMMDDHHmmSSOHH'mm').

PdfDocument

A PDF document. Use Create() for new documents or Open(string, string?) to load existing files. Objects of opened files are loaded lazily; unchanged objects are written back as they are.

PdfDocumentInfo

Accessor for the document information dictionary (trailer /Info).

PdfException

Base exception for errors raised by miPDFlib.

PdfLimits

Resource limits that protect against malicious or broken documents (decompression bombs, huge images, CPU-intensive structures). Exceeding a limit raises a PdfException.

PdfOpenOptions

Options for Open(string, PdfOpenOptions).

PdfOutline

A bookmark (outline item). The document's root is Outlines; its children are the top-level bookmarks. Changes are written directly into the outline dictionaries.

PdfPage

A page of a PdfDocument.

PdfPageLabelRange

A page label range: the pages from StartPage up to the start of the next range.

PdfPageLabels

The page labels of a document (/PageLabels in the catalog, ISO 32000-1, 12.4.2): logical page numbers such as "i, ii, iii" for a preface followed by "1, 2, 3". Viewers show them instead of the physical page number.

PdfParseException

Raised when a PDF file cannot be parsed.

PdfPasswordException

Raised when an encrypted document is opened without a valid password.

PdfViewerPreferences

Viewer preferences of the document (/ViewerPreferences, ISO 32000-1, 12.2). Missing entries read as false, the PDF default; setting false removes the entry.

Structs

PdfRectangle

An axis-aligned rectangle in PDF user space (points, origin bottom-left).

Enums

AttachmentRelationship

Relationship of an embedded file to the document (/AFRelationship, PDF/A-3 and PDF 2.0).

LineEnding

Line ending styles of line annotations.

PdfPageLabelStyle

Numbering style of a page label range (/S, ISO 32000-1, 12.4.2).

PdfPageLayout

Page layout a viewer uses when the document is opened (/PageLayout, ISO 32000-1, 7.7.2).

PdfPageMode

Which panel a viewer shows when the document is opened (/PageMode, ISO 32000-1, 7.7.2).

PdfUAConformance

PDF/UA conformance levels (ISO 14289).

TextMarkupType

Text markup annotation types.