Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.08 KB

File metadata and controls

13 lines (9 loc) · 1.08 KB

Use GoTo actions in PDF documents

This sample shows how to use Go-To actions in PDF documents with Docotic.Pdf library.

A Go-To (or jump) action can be created using PdfDocument.CreateGoToPageAction methods. CreateGoToPageAction method returns an instance of PdfGoToAction class.

Use methods and properties of PdfGoToAction class to specify a target page to be shown as the result of the action. You can also specify the upper-left corner of the target page to be positioned at the upper-left corner of the window using PdfGoToAction.Offset property.

A Go-To action (and a number of other action types) can be used for widget event handlers. For example, for PdfButton.OnMouseDown property.

See also