VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfDocumentJS type / getPage Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
getPage Method
In This Topic
Returns a page of this PDF document.
Syntax
var instance = new Vintasoft.Imaging.Pdf.WebPdfDocumentJS(id, service, pdfDocumentEditorControl);

var value; // Type: Vintasoft.Imaging.Pdf.WebPdfPageJS

// Parameters
var index; // Type: number

value = instance.getPage(index);

Parameters

index
Zero-based index of page of this PDF document.

Return Value

An instance of WebPdfPageJS class.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if argument is less than zero or argument is equal to or greater than PDF document page count.
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