Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ProcessRequest Method
See Also 
Leadtools.Web.Handlers Namespace > ImageInformation Class : ProcessRequest Method




context

An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and 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

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 ProcessRequest method.

Syntax

Visual Basic (Declaration) 
Public Sub ProcessRequest( _
   ByVal context As HttpContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageInformation
Dim context As HttpContext
 
instance.ProcessRequest(context)
C# 
public void ProcessRequest( 
   HttpContext context
)
Managed Extensions for C++ 
public: void ProcessRequest( 
   HttpContext context
) 
C++/CLI 
public:
void ProcessRequest( 
   HttpContext context
) 

Parameters

context

An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and 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

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.

Example

Remarks

After returning from this method, the image information will return as XML file and can be get from the Response property of the context parameter and the property 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 ProcessRequest.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also