Table of Contents

Class PdfMetadata

Namespace
SimpleSign.HtmlToPdf.Layout
Assembly
SimpleSign.HtmlToPdf.dll

PDF document metadata.

public sealed record PdfMetadata : IEquatable<PdfMetadata>
Inheritance
PdfMetadata
Implements
Inherited Members

Constructors

PdfMetadata(string?, string?, string?, string?)

PDF document metadata.

public PdfMetadata(string? Title, string? Author, string? HeaderTemplate = null, string? FooterTemplate = null)

Parameters

Title string

The document title.

Author string

The document author.

HeaderTemplate string

Header template with placeholders like {page}, {pages}, {title}, {date}.

FooterTemplate string

Footer template with placeholders like {page}, {pages}, {title}, {date}.

Properties

Author

The document author.

public string? Author { get; init; }

Property Value

string

FooterTemplate

Footer template with placeholders like {page}, {pages}, {title}, {date}.

public string? FooterTemplate { get; init; }

Property Value

string

HeaderTemplate

Header template with placeholders like {page}, {pages}, {title}, {date}.

public string? HeaderTemplate { get; init; }

Property Value

string

Title

The document title.

public string? Title { get; init; }

Property Value

string