Table of Contents

Class BookmarkEntry

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

Represents a heading bookmark for PDF outlines.

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

Constructors

BookmarkEntry(string, int, int, float)

Represents a heading bookmark for PDF outlines.

public BookmarkEntry(string Title, int Level, int PageIndex, float Y)

Parameters

Title string

The heading text.

Level int

The heading level (1-6).

PageIndex int

0-based page index.

Y float

Y position on the page in layout coordinates (from top of content area).

Properties

Level

The heading level (1-6).

public int Level { get; init; }

Property Value

int

PageIndex

0-based page index.

public int PageIndex { get; init; }

Property Value

int

Title

The heading text.

public string Title { get; init; }

Property Value

string

Y

Y position on the page in layout coordinates (from top of content area).

public float Y { get; init; }

Property Value

float