context
A System.Web.HttpContext object that provides references to the intrinsic server objects (for example, System.Web.HttpContext.Request, System.Web.HttpContext.Response, System.Web.HttpContext.Session, and System.Web.HttpContext.Server) used to service HTTP requests.
Any parameter to be used in getting the image information operation (for example URL) should be in a querystring layout which is:
parameter1=value¶meter2=value
The following table contains the parameters that can be passed in the querystring to get information about a specific image file.
Parameter | Description |
URL | System.String contains the input file url to query. |
TotalPages | true to query the file for total number of pages, false otherwise. |
PageNumber | Page number of the file to query. |
After returning from this method, the image information will return as XML file and can be get from the System.Web.HttpContext.Response property of the context parameter and the property System.Web.HttpResponse.ContentType will be "text/xml".
To see the ImageInformation XML DTD (Document Type Definitions), refer to ImageInformation Xml DTD.
For more information about this method, refer to System.Web.IHttpHandler.ProcessRequest(System.Web.HttpContext).