• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Namespace DRIT.Pdf

Classes

Destination

A PDF destination (spec §12.3.2.2). Specifies a target page and a view (zoom/scroll position) for GoTo actions, link annotations, outlines, and open actions.

Document

Top-level PDF document. Entry point for creating, reading, and saving PDFs.

DocumentIdentifier

A pair of 16-byte identifiers that uniquely identify a PDF document (spec §7.5.5, /ID entry). The first identifier is created when the file is first written; the second is updated when the file is modified.

DocumentNames

The document-level names dictionary (spec §7.7.2). Provides named-destination and JavaScript name trees stored in the catalog's /Names entry.

FileSpecification

A file specification (spec §7.7.4) that wraps the /Filespec dictionary. Can reference an embedded file stream or an external file path.

LicenseException

The exception thrown when an operation requires a valid DRIT.Pdf license.

NumberRangeCollection

A collection of NumberRange values.

OptionalContentCollection<T>

A read-only wrapper that returns an empty or populated collection. Used for nullable collection properties (e.g. Page.AssociatedFiles).

Page

Represents a single page in a PDF document. Wraps the internal page dictionary and provides a high-level API.

PageCollection

The ordered collection of pages in a Document. Backed by the document's internal page tree.

PageSize

Standard PDF page sizes in points (1 point = 1/72 inch).

PageTreeKidCollection

Mutable child-page operations for a page-tree node.

PageTreeNode

Represents a logical page-tree node used to create pages with inherited media-box and rotation settings.

Tree<TKey, TValue>

A PDF name or number tree (spec §7.9.7). This is a simplified flat (leaf-only) implementation suitable for document-level name trees such as /Names /EmbeddedFiles and /Names /Dests.

ViewerPreferences

Viewer preferences for the document (spec §12.2, Table 151). Controls how the PDF viewer application displays the document. Stored in the catalog's /ViewerPreferences dictionary.

XmlMetadataStream

A typed wrapper around the document's /Metadata XML stream (spec §7.9.4). Reads and writes the XMP packet directly, including the <?xpacket> wrapper.

Structs

Language

A language identifier (spec §7.9.2). An RFC 3066 language tag string such as "en-US" or "de-DE". Used by the catalog /Lang entry and by tagged-content structure elements.

NumberRange

A range of numbers [min, max] (spec §7.9.7). Used by mesh shadings and number trees.

PdfPadding

Padding around a rectangular area, used by annotation appearance layout and form-field widget insets.

PdfPoint

A 2-D point in PDF user-space units.

PdfRect

An axis-aligned rectangle in PDF user-space units (points, 1/72 inch). Matches the PDF /MediaBox / /CropBox convention: [llx lly urx ury].

PdfSize

Width × height dimensions in PDF user-space units.

PdfVersion

Represents the PDF file version (spec §7.5.2). The version is declared in the file header as %PDF-x.y.

Enums

ConformanceLevel

Conformance level applied when saving a document. Supports PDF/A profiles (ISO 19005) and PDF/X-4 (ISO 15930-7).

DestinationViewType

How a destination zooms or positions the page (PDF spec §12.3.2.2).

EncryptionAlgorithm

Encryption algorithm used to protect the PDF (§7.6).

EncryptionOptions

Flags controlling which parts of the PDF are encrypted (§7.6.3.3).

FieldType

Interactive form field type (PDF spec §12.7).

FormDataFormat

Data format used when importing or exporting form field values.

PageBoundaryType

Page boundary type (spec §7.7.3.3, Table 30). Identifies which page box to read or write.

PageLayout

Page layout mode for the document (spec §12.2.1, Table 150). Controls how pages are displayed when the document is opened.

PageMode

How the viewer should display the document when opened (PDF spec §12.2).

PdfCrossReferenceType

Cross-reference format used when writing the document (spec §7.5.4 / §7.5.8).

ReadingOrder

Reading order direction (spec §12.2, Table 151 — /Direction entry).

SignatureFormat

CMS profile used for digital signatures.

SignatureIcon

Appearance style for a visible digital signature field.

SignatureLevel

Requested PAdES signature profile level.

UserAccessPermissions

User-access permission flags embedded in encrypted PDFs (Table 22, §7.6.3.2). The values correspond directly to the bit positions used in the /P entry.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX