Table of Contents

Method CreateGoToPageAction

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

CreateGoToPageAction(PdfPage, double)

Creates a new PdfGoToAction with specified properties.

public PdfGoToAction CreateGoToPageAction(PdfPage page, double topOffset)

Parameters

page PdfPage

The page of the document to be displayed as the result of the action.

topOffset 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".

Returns

PdfGoToAction

The newly created PdfGoToAction.

CreateGoToPageAction(int, double)

Creates a new PdfGoToAction with specified properties.

public PdfGoToAction CreateGoToPageAction(int pageIndex, double topOffset)

Parameters

pageIndex int

The index of the page to be displayed as the result of the action.

topOffset 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".

Returns

PdfGoToAction

The newly created PdfGoToAction.