PdfBookmark Class
Definition
Bookmark (outline item) in a PDF document.
public class PdfBookmark
Constructors
| Name | Description |
|---|---|
| PdfBookmark | No summary available. |
PdfBookmark Constructor
public PdfBookmark(string title, Nullable<int> pageIndex, System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Pdf.Core.PdfBookmark> children)
Parameters
title string
pageIndex Nullable<int>
children System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Pdf.Core.PdfBookmark>
Properties
| Name | Description |
|---|---|
| Children | Child bookmarks. |
| Destination | The bookmark's full destination when it has one: the page plus the position and zoom of an /XYZ, /FitH, /FitV or /FitR view. Null for bookmarks without a page target. |
| IsExpanded | Whether this bookmark is expanded by default. |
| PageIndex | Target page index (0-based), or null if external/unsupported. |
| Title | Bookmark title. |
Children Property
Child bookmarks.
public System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Pdf.Core.PdfBookmark> Children { get; set; }
Destination Property
The bookmark's full destination when it has one: the page plus the position and zoom of an /XYZ, /FitH, /FitV or /FitR view. Null for bookmarks without a page target.
public Avalonia.Controls.Pdf.Core.PdfLinkDestination.PageDestination Destination { get; set; }
IsExpanded Property
Whether this bookmark is expanded by default.
public bool IsExpanded { get; set; }
PageIndex Property
Target page index (0-based), or null if external/unsupported.
public Nullable<int> PageIndex { get; set; }
Title Property
Bookmark title.
public string Title { get; set; }