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
TitlestringThe heading text.
LevelintThe heading level (1-6).
PageIndexint0-based page index.
YfloatY 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
PageIndex
0-based page index.
public int PageIndex { get; init; }
Property Value
Title
The heading text.
public string Title { get; init; }
Property Value
Y
Y position on the page in layout coordinates (from top of content area).
public float Y { get; init; }