Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

MarkdownPdfPageDecoration

Namespace OfficeIMO.Markdown.Pdf
Assembly OfficeIMO.Markdown.Pdf
Modifiers sealed

Page-level visual treatment applied by Markdown PDF themes through the shared OfficeIMO.Pdf engine.

Inheritance

  • Object
  • MarkdownPdfPageDecoration

Usage

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

Constructors

Methods

public MarkdownPdfPageDecoration AddBackgroundShape(PdfPageBackgroundShape shape) #
Returns: MarkdownPdfPageDecoration

Adds a reusable page background shape.

Parameters

shape OfficeIMO.Pdf.PdfPageBackgroundShape requiredposition: 0
public MarkdownPdfPageDecoration ClearBackgroundShapes() #
Returns: MarkdownPdfPageDecoration

Removes all page background shapes from this decoration profile.

public MarkdownPdfPageDecoration Clone() #
Returns: MarkdownPdfPageDecoration

Creates a detached copy.

public static MarkdownPdfPageDecoration Report() #
Returns: MarkdownPdfPageDecoration

Creates the built-in report page decoration profile.

public static MarkdownPdfPageDecoration TechnicalDocument() #
Returns: MarkdownPdfPageDecoration

Creates the built-in technical document page decoration profile.

Properties

public Nullable<PdfColor> BackgroundColor { get; set; } #

Optional page background color applied before page content is rendered.

public PdfPageBorder PageBorder { get; set; } #

Optional page border applied before page content is rendered.

public IReadOnlyList<PdfPageBackgroundShape> BackgroundShapes { get; set; } #

Optional page background shapes applied before page content is rendered.

public Boolean RespectExistingPdfOptions { get; set; } #

When true, explicit low-level PdfOptions values take precedence over this theme decoration.