ComPDFKit Web SDK
    Preparing search index...

    Class GoTo

    Go-to action: navigates to a page, or to a position on a page, in the current document.

    Hierarchy

    • Action
      • GoTo
    Index
    • Creates a go-to action.

      Parameters

      • Optionalinit: { dest?: DestInit }

        Optional initial values.

        • Optionaldest?: DestInit

          Initial destination; defaults to page 1 with fit mode 'Fit'.

      Returns GoTo

    dest: Dest

    The target destination (1-based page number, fit mode, position and zoom).

    Dest: typeof Dest

    The destination class, exposed so callers can create new Actions.GoTo.Dest(...).

    elementName: string

    Action type name, always 'GoTo'.