Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfDocumentBuilder

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 33d062b583cb with working tree changes
Modifiers sealed

Entry point for the fluent composition DSL. Add ordinary flow through PdfDocumentBuilder.Content, or use PdfDocumentBuilder.Page and PdfDocumentBuilder.Section for scoped page settings and layout.

Inheritance

  • Object
  • PdfDocumentBuilder

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Methods

public PdfDocumentBuilder Content(Action<PdfContentBuilder> build) #
Returns: PdfDocumentBuilder

Adds content to the document's current flow without introducing a page or section boundary.

Parameters

build System.Action<OfficeIMO.Pdf.PdfContentBuilder> requiredposition: 0
public PdfDocumentBuilder Page(Action<PdfPageBuilder> configure) #
Returns: PdfDocumentBuilder

Configures a page (size, margins, content, footer).

Parameters

configure System.Action<OfficeIMO.Pdf.PdfPageBuilder> requiredposition: 0
public PdfDocumentBuilder Section(Action<PdfPageBuilder> configure) #
Returns: PdfDocumentBuilder

Configures a section-scoped flow with its own page setup and content.

Parameters

configure System.Action<OfficeIMO.Pdf.PdfPageBuilder> requiredposition: 0
public PdfDocumentBuilder Settings(Action<PdfOptions> configure) #
Returns: PdfDocumentBuilder

Updates document-wide rendering, catalog, security, compliance, and attachment settings. This is primarily useful to adapters that compose a document incrementally after creation.

Parameters

configure System.Action<OfficeIMO.Pdf.PdfOptions> requiredposition: 0
public PdfDocumentBuilder Typography(OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace) #
Returns: PdfDocumentBuilder

Applies a shared, explicit font, fallback, language, and shaping profile.

Parameters

profile OfficeIMO.Drawing.OfficeRenderingProfile requiredposition: 0
mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace optionalposition: 1