←Select platform

ProcessRequest Method (ImageGenerator)

Syntax

C#
VB
C++
public void ProcessRequest(  
   HttpContext context 
) 
Public Sub ProcessRequest( _ 
   ByVal context As HttpContext _ 
) 
public: 
void ProcessRequest(  
   HttpContext^ context 
) 

Parameters

context
An 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 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 System.String that contains the URL of the image file to be loaded.
InputProfile System.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 A System.String that contains the url of the XML file that contains the options to be used as save options when the image to return in the System.Web.HttpContext.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 System.Web.HttpContext.Response property of the context parameter and the System.Web.HttpResponse.ContentType property can be one of the ImageGenerator Output Content Types.

For more information about this method, refer to System.Web.IHttpHandler.ProcessRequest(System.Web.HttpContext).

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Web Assembly
Click or drag to resize