Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ProcessRequest Method
See Also 
Leadtools.Web.Handlers Namespace > ImageGenerator 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 the process of loading the image (for example Url, InputProfile, .etc) 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 load full or part of (tile) a spcific image file.

Parameter

Description

Url

A String that contains the URL of the image file to be loaded.

InputProfile

String Contains the url of the XML file that contains the options to be used as load options.

To see the InputProfile Xml DTD (Document Type Definitions), refer to ImageGenerator Xml Profiles DTD.

OutputProfile

String Contains the url of the XML file that contains the options to be used as save options when the image to return in the Response parameter.

To see the InputProfile Xml DTD (Document Type Definitions), refer to ImageGenerator Xml Profiles DTD.

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 the process of loading the image (for example Url, InputProfile, .etc) 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 load full or part of (tile) a spcific image file.

Parameter

Description

Url

A String that contains the URL of the image file to be loaded.

InputProfile

String Contains the url of the XML file that contains the options to be used as load options.

To see the InputProfile Xml DTD (Document Type Definitions), refer to ImageGenerator Xml Profiles DTD.

OutputProfile

String Contains the url of the XML file that contains the options to be used as save options when the image to return in the Response parameter.

To see the InputProfile Xml DTD (Document Type Definitions), refer to ImageGenerator Xml Profiles DTD.

Implements ProcessRequest method.

Syntax

Visual Basic (Declaration) 
Public Sub ProcessRequest( _
   ByVal context As HttpContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageGenerator
Dim context As HttpContext
 
instance.ProcessRequest(context)
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 the process of loading the image (for example Url, InputProfile, .etc) 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 load full or part of (tile) a spcific image file.

Parameter

Description

Url

A String that contains the URL of the image file to be loaded.

InputProfile

String Contains the url of the XML file that contains the options to be used as load options.

To see the InputProfile Xml DTD (Document Type Definitions), refer to ImageGenerator Xml Profiles DTD.

OutputProfile

String Contains the url of the XML file that contains the options to be used as save options when the image to return in the Response parameter.

To see the InputProfile Xml DTD (Document Type Definitions), refer to ImageGenerator Xml Profiles DTD.

Remarks

After returning from this method, the image will returns as binary data and can be get from the Response property of the context parameter and the ContentType property can be one of the ImageGenerator Output Content Types.

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