PdfDocumentBuilder
OfficeIMO.Pdf
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.
Returned or exposed by 5
- Method PdfDocumentBuilder.Content
- Method PdfDocumentBuilder.Page
- Method PdfDocumentBuilder.Section
- Method PdfDocumentBuilder.Settings
- Method PdfDocumentBuilder.Typography
Accepted by parameters 2
- Method PdfDocument.Compose
- Method PdfDocument.Create
Methods
public PdfDocumentBuilder Content(Action<PdfContentBuilder> build) #Adds content to the document's current flow without introducing a page or section boundary.
Parameters
- build System.Action<OfficeIMO.Pdf.PdfContentBuilder>
Returns
PdfDocumentBuilderpublic PdfDocumentBuilder Page(Action<PdfPageBuilder> configure) #Configures a page (size, margins, content, footer).
Parameters
- configure System.Action<OfficeIMO.Pdf.PdfPageBuilder>
Returns
PdfDocumentBuilderpublic PdfDocumentBuilder Section(Action<PdfPageBuilder> configure) #Configures a section-scoped flow with its own page setup and content.
Parameters
- configure System.Action<OfficeIMO.Pdf.PdfPageBuilder>
Returns
PdfDocumentBuilderpublic PdfDocumentBuilder Settings(Action<PdfCreateOptions> configure) #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.PdfCreateOptions>
Returns
PdfDocumentBuilderpublic PdfDocumentBuilder Typography(OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace) #Applies a shared, explicit font, fallback, language, and shaping profile.
Parameters
- profile OfficeIMO.Drawing.OfficeRenderingProfile
- mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace
Returns
PdfDocumentBuilder