PdfTheme
OfficeIMO.Pdf
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.
Returned or exposed by 6
- Method PdfTheme.Clone
- Method PdfTheme.Compact
- Method PdfTheme.FromOfficeTheme
- Method PdfTheme.Report
- Method PdfTheme.TechnicalDocument
- Method PdfTheme.WordLike
Accepted by parameters 2
- Method PdfCreateOptions.ApplyTheme
- Method PdfPageBuilder.Theme
Constructors
public PdfTheme() #Methods
public static PdfTheme Compact() #Creates a compact document theme for dense notes and narrow reports that still need readable rhythm.
Returns
PdfThemepublic 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
- Theme that supplies colours, sizes and spacing.
Returns
PdfThemepublic static PdfTheme Report() #Creates a report-oriented theme with stronger table hierarchy, summary-row separators, and calm document colors.
Returns
PdfThemepublic static PdfTheme TechnicalDocument() #Creates a technical-document theme for specifications, READMEs, and operational guides with stronger heading contrast and compact table rhythm.
Returns
PdfThemeInherited Methods
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 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.