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

    Return Value

    An array of WebPdfPageJS objects that defines pages of this PDF document.
    Exceptions
    ExceptionDescription
    Thrown if class does NOT have information about PDF document.
    Remarks

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

    Browser Compatibility
    56+
    45+
    11
    See Also