Method GoToPage

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

GoToPage(PdfPage, double?)

Jumps to a page of the same document.

public static PdfButtonAction GoToPage(PdfPage page, double? top = null)

Parameters

page PdfPage

The target page.

top double?

The y coordinate to scroll to; null shows the whole page.

Returns

PdfButtonAction

Remarks

Saving throws InvalidOperationException if the page belongs to a different document.