ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearDocument : includeAllPages Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_includeAllPages() : Boolean function set_includeAllPages(value : Boolean) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearDocument.get_includeAllPages(); |
This property indicates whether all pages in a document are to be included.
When this property is set to "true" and the pageCount is unknown, a request will be made to the server for information about the total page count in the document. At this point, the pageCountStatus will be set to "RequestPending" state. The pageCountStatus will be set to "known" value when the pageCount is available. If a request for the pageCount is pending, the pageCountStatus is in an "RequestPending" state and if at this point, this property is changed to value "false", the request will still go ahead. When a request to the server for the page count is being processed, and if at this point an addPage method is called, the page specified will be added. A new instance of a page object with the same page number be created and added to the collection when the result for the pageCount query arrives from the server. In this scenario, the page collection will contain two instances of page objects that represent the same page numbers.
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearDocument
ImGearDocument Members