LEADTOOLS WebForms and AJAX (Leadtools.Web assembly)
LEAD Technologies, Inc

ProcessRequest Method (ImageInformation)






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&parameter2=value

The following table contains the parameters that can be passed in the querystring to get information about a spcific 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.
Implements System.Web.IHttpHandler.ProcessRequest(System.Web.HttpContext) method.
Syntax
public void ProcessRequest( 
   HttpContext context
)
'Declaration
 
Public Sub ProcessRequest( _
   ByVal context As HttpContext _
) 
'Usage
 
Dim instance As ImageInformation
Dim context As HttpContext
 
instance.ProcessRequest(context)
public void ProcessRequest( 
   HttpContext context
)
 function Leadtools.Web.Handlers.ImageInformation.ProcessRequest( 
   context 
)
public:
void ProcessRequest( 
   HttpContext^ context
) 

Parameters

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&parameter2=value

The following table contains the parameters that can be passed in the querystring to get information about a spcific 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.
Remarks

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).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImageInformation Class
ImageInformation Members
IsReusable Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.