|
GLG Toolkit, C# Class Library
Version 4.6
|
GLG Graphics Server is used for server-side deployment of the GLG Toolkit in the ASP.NET environment. More...
GLG Graphics Server is used for server-side deployment of the GLG Toolkit in the ASP.NET environment.
It is deployed in the form of an ASP.NET HTTP handler and provides a way to web-deploy existing C# code for legacy applications. This an alternative to a more common web deployment of the GLG applications using the GLG JavaScript Library.
The Graphics Server uses a separate Glg.NETServer.dll GLG class library for the ASP.NET environment that supports headless operation as well as a multi-threaded multi-threaded ASP.NET handlers.
This library has the same interface as the rest of the GLG API with two additional classes (GlgHttpRequestProcessor and GlgHttpRequestData) and a few additional methods (SetImageSize, GetImageWidth and GetImageHeight) that are used in the ASP.NET environment. When used in the Graphics Server, GlgObject methods should be used instead of methods of GlgControl.
The examples_ASP.NET directory of the GLG installation contains source code examples of custom GLG-based ASP.NET HTTP handlers.
Classes | |
| class | GlgHttpRequestData |
| An auxiliary class used by GlgHttpRequestProcessor to pass the HTML request data to its custom request processing method and to return generated data for ASP.NET-based custom HTTP handlers. More... | |
| class | GlgHttpRequestProcessor |
| Request processor class for implementing custom HTTP handlers for ASP.NET. More... | |
Functions | |
| int | GetImageHeight () |
| Returns the height of the last image generated by the GLG Graphics Server for the top viewport. More... | |
| int | GetImageWidth () |
| Returns the width of the last image generated by the GLG Graphics Server for the top viewport. More... | |
| delegate void | GlgProcessRequestDataFunc (GlgHttpRequestData data) |
| A delegate used to pass a custom request proceesing method to an instance of GlgHttpRequestProcessor for ASP.NET-based custom HTTP handlers. More... | |
| void | SetImageSize (int width, int height) |
| Sets the size of the image to be generated by the Graphics Server for this top viewport. More... | |
| int GetImageHeight | ( | ) |
Returns the height of the last image generated by the GLG Graphics Server for the top viewport.
| int GetImageWidth | ( | ) |
Returns the width of the last image generated by the GLG Graphics Server for the top viewport.
| delegate void GenLogic.GlgProcessRequestDataFunc | ( | GlgHttpRequestData | data | ) |
A delegate used to pass a custom request proceesing method to an instance of GlgHttpRequestProcessor for ASP.NET-based custom HTTP handlers.
| void SetImageSize | ( | int | width, |
| int | height | ||
| ) |
Sets the size of the image to be generated by the Graphics Server for this top viewport.
| width | The width of the image to be generated. |
| height | The height of the image to be generated. |