VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfDocumentJS type / getBookmarks Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    getBookmarks Method
    In This Topic
    Returns the bookmarks of this PDF document.
    Syntax
    var instance = new Vintasoft.Imaging.Pdf.WebPdfDocumentJS(id, service, pdfDocumentEditorControl);
    
    var value; // Type: Vintasoft.Imaging.Pdf.WebPdfBookmarkJS[]
    value = instance.getBookmarks();
    
    
    function getBookmarks() : WebPdfBookmarkJS[];
    

    Return Value

    An array of WebPdfBookmarkJS objects that defines all bookmarks associated with this PDF document.
    Exceptions
    ExceptionDescription
    Thrown if class does NOT have information about PDF document bookmarks.
    Remarks

    Before calling this method you must call the "requestBookmarks" method for getting information about PDF document bookmarks.
    Call the "isBookmarksReceived" method if you want to determine that class already received information about bookmarks.

    Browser Compatibility
    56+
    45+
    11
    See Also