Creates the new PdfGoToAction with specified properties and adds it to the collection of document actions.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfGoToAction CreateGoToPageAction(
	PdfPage page,
	double topOffset
)
VB
Public Function CreateGoToPageAction ( 
	page As PdfPage,
	topOffset As Double
) As PdfGoToAction

Parameters

page
Type: BitMiracle.Docotic.Pdf.PdfPage
The page of the document to be displayed as the result of the action.
topOffset
Type: System.Double
The vertical coordinate of the page that should be positioned at the top edge of the window when the page is displayed. The offset is relative to the top edge of the page. I.e. offset 0 means "display page starting from the top edge".

Return Value

Type: PdfGoToAction
The newly created PdfGoToAction.

See Also