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
TitlestringThe document title.
AuthorstringThe document author.
HeaderTemplatestringHeader template with placeholders like {page}, {pages}, {title}, {date}.
FooterTemplatestringFooter template with placeholders like {page}, {pages}, {title}, {date}.
Properties
Author
The document author.
public string? Author { get; init; }
Property Value
FooterTemplate
Footer template with placeholders like {page}, {pages}, {title}, {date}.
public string? FooterTemplate { get; init; }
Property Value
HeaderTemplate
Header template with placeholders like {page}, {pages}, {title}, {date}.
public string? HeaderTemplate { get; init; }
Property Value
Title
The document title.
public string? Title { get; init; }