Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTheme

OfficeIMO.Pdf

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

Reusable bundle of default PDF styles for document or page composition.

Inheritance

  • object
  • PdfTheme

Usage

Explore 8 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

Constructors

public PdfTheme() #

Methods

public PdfTheme Clone() #

Creates a deep copy of this theme.

Returns

PdfTheme
public static PdfTheme Compact() #

Creates a compact document theme for dense notes and narrow reports that still need readable rhythm.

Returns

PdfTheme
public static PdfTheme FromOfficeTheme(OfficeTheme theme) #

Creates PDF composition defaults from a cross-format OfficeTheme: the type scale and heading colour for headings, the theme table style with an accent header rule and hairline rows, list indentation with accent bullets, and paragraph spacing from the theme rhythm.

Parameters

theme OfficeIMO.OfficeTheme required
Theme that supplies colours, sizes and spacing.

Returns

PdfTheme
public static PdfTheme Report() #

Creates a report-oriented theme with stronger table hierarchy, summary-row separators, and calm document colors.

Returns

PdfTheme
public static PdfTheme TechnicalDocument() #

Creates a technical-document theme for specifications, READMEs, and operational guides with stronger heading contrast and compact table rhythm.

Returns

PdfTheme
public static PdfTheme WordLike() #

Creates a generic Word-like document theme with neutral typography, readable paragraph rhythm, heading hierarchy, lists, tables, and flow-object spacing.

Returns

PdfTheme

Properties

public PdfTextStyle? TextStyle { get; set; } #

Default text typography for content that does not override it.

public PdfParagraphStyle? ParagraphStyle { get; set; } #

Default paragraph layout and page-flow style.

public PdfTableStyle? TableStyle { get; set; } #

Default table appearance and rhythm style.

public PdfHeadingStyles? HeadingStyles { get; set; } #

Default heading typography and rhythm styles.

public PdfListStyle? ListStyle { get; set; } #

Default bullet and numbered list typography and rhythm style.

public PdfPanelStyle? PdfPanelStyle { get; set; } #

Default panel paragraph box style.

public PdfHorizontalRuleStyle? HorizontalRuleStyle { get; set; } #

Default horizontal rule appearance and rhythm style.

public PdfImageStyle? ImageStyle { get; set; } #

Default image placement and rhythm style.

public PdfDrawingStyle? DrawingStyle { get; set; } #

Default drawing object placement and rhythm style.

public PdfRowStyle? RowStyle { get; set; } #

Default row/column layout rhythm style.