ImageGear .NET v24.12 - Updated
includeAllPages Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ImGearDocument class : includeAllPages Property
Gets or sets whether if all pages in a document will be included.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_includeAllPages() : Boolean
function set_includeAllPages(value : Boolean)
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearDocument.get_includeAllPages();
Remarks

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.

See Also

Reference

ImGearDocument class
ImGearDocument Members