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
pagePdfPageThe page of the document to be displayed as the result of the action.
topOffsetdoubleThe 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
pageIndexintThe index of the page to be displayed as the result of the action.
topOffsetdoubleThe 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(string)
Creates a new PdfGoToAction associated with a named view (destination).
public PdfGoToAction CreateGoToPageAction(string viewName)
Parameters
viewNamestringThe name of the view (destination). The view with this name should be displayed as the result of the action.
Returns
- PdfGoToAction
The newly created PdfGoToAction.