{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "pdfviewer-pdf-viewer-bookmark",
  "framework": "winforms",
  "type": "registry:component",
  "component": "PdfViewer",
  "variant": "pdf-viewer-bookmark",
  "dependencies": [
    "Syncfusion.PdfViewer.Windows"
  ],
  "description": "PdfViewer that parses the document bookmarks tree and exposes navigation actions that jump to the matching page on click.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/winforms/llms.txt",
    "skillPack": "syncfusion/winforms-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/winforms/pdfviewer-pdf-viewer-bookmark.md"
  },
  "files": [
    {
      "target": "src/components/pdfviewer-pdf-viewer-bookmark/pdfviewer.Designer.cs",
      "content": "namespace PdfViewerBookmark\n{\n    partial class Form1\n    {\n        /// <summary>\n        /// Required designer variable.\n        /// </summary>\n        private System.ComponentModel.IContainer components = null;\n\n        #region Windows Form Designer generated code\n\n        /// <summary>\n        /// Required method for Designer support - do not modify\n        /// the contents of this method with the code editor.\n        /// </summary>\n        private void InitializeComponent()\n        {\n            this.panel1 = new System.Windows.Forms.Panel();\n            this.pdfViewerControl1 = new Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl();\n            this.SuspendLayout();\n            //\n            // panel1\n            //\n            this.panel1.AutoSize = true;\n            this.panel1.BackColor = System.Drawing.Color.White;\n            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;\n            this.panel1.Location = new System.Drawing.Point(0, 0);\n            this.panel1.Name = \"panel1\";\n            this.panel1.Size = new System.Drawing.Size(529, 0);\n            this.panel1.TabIndex = 0;\n            //\n            // pdfViewerControl1\n            //\n            this.pdfViewerControl1.Dock = System.Windows.Forms.DockStyle.Fill;\n            this.pdfViewerControl1.EnableNotificationBar = true;\n            this.pdfViewerControl1.Location = new System.Drawing.Point(0, 0);\n            this.pdfViewerControl1.Name = \"pdfViewerControl1\";\n            this.pdfViewerControl1.ShowToolBar = true;\n            this.pdfViewerControl1.Size = new System.Drawing.Size(529, 307);\n            this.pdfViewerControl1.TabIndex = 3;\n            this.pdfViewerControl1.Text = \"pdfViewerControl1\";\n            //\n            // Form1\n            //\n            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\n            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\n            this.ClientSize = new System.Drawing.Size(529, 307);\n            this.Controls.Add(this.panel1);\n            this.Controls.Add(this.pdfViewerControl1);\n            this.Icon = new System.Drawing.Icon(PdfViewerBookmarkDataSource.GetIconPath(\"Icon.ico\"));\n            this.Name = \"Form1\";\n            this.Text = \"PdfViewer Bookmark\";\n            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;\n            this.Load += new System.EventHandler(this.Form1_Load);\n            this.ResumeLayout(false);\n            this.PerformLayout();\n\n        }\n\n        #endregion\n        private System.Windows.Forms.Panel panel1;\n        private Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl pdfViewerControl1;\n    }\n}\n"
    },
    {
      "target": "src/components/pdfviewer-pdf-viewer-bookmark/pdfviewer.cs",
      "content": "using System;\nusing System.Windows.Forms;\n\nnamespace PdfViewerBookmark\n{\n    /// <summary>\n    /// Shows a PDF document that contains bookmarks (outlines) in the\n    /// Syncfusion PDF viewer.\n    /// </summary>\n    public partial class Form1 : Form\n    {\n        #region Constructor\n        public Form1()\n        {\n            InitializeComponent();\n        }\n        # endregion\n\n        # region Events\n        private void Form1_Load(object sender, EventArgs e)\n        {\n            string documentPath = PdfViewerBookmarkDataSource.GetDocumentPath();\n            if (System.IO.File.Exists(documentPath))\n            {\n                pdfViewerControl1.Load(documentPath);\n            }\n        }\n\n        #endregion\n\n        #region Helper Methods\n        /// <summary>\n        /// Clean up any resources being used.\n        /// </summary>\n        /// <param name=\"disposing\">true if managed resources should be disposed; otherwise, false.</param>\n        protected override void Dispose(bool disposing)\n        {\n            pdfViewerControl1.Dispose();\n            if (disposing && (components != null))\n            {\n                components.Dispose();\n            }\n            base.Dispose(disposing);\n        }\n        #endregion\n    }\n}\n"
    }
  ]
}