Reference Guide
Reference Guides / JavaScript API / Actions / Document / DeletePages
In This Topic
    DeletePages
    In This Topic
     DeletePages

    This function allows you to delete specific pages.

    DeletePages: function (docuViewareID, pages, success, error)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to delete the pages page from.
    pages
    The number of the pages to delete. Can be an integer or an array of integers.   
    success
    A function that will be executed upon success.
    error
    A function that will be executed upon error.

    Return Value

    1 if error, 0 if success.