C# Class NSoft.NFramework.FusionCharts.ImageGenerator

FusionCharts Image Generator Class FusionCharts Exporter - 'Image Resource' handles FusionCharts (since v3.1) Server Side Export feature that helps FusionCharts exported as Image files in various formats.
显示文件 Open project: debop/NFramework

Public Methods

Method Description
ImageGenerator ( string imageData_FCFormat, string width, string height, string bgcolor ) : System

Generates bitmap data for the image from a FusionCharts export format the height and width of the original export needs to be specified the default background color can also be specified

getBinaryStream ( string strFormat ) : MemoryStream

Gets the binary data stream of the image The passed parameter determines the file format of the image to be exported

Private Methods

Method Description
getImageObject ( ) : Bitmap

Retreives the bitmap image object

getImageObject ( int id ) : Bitmap

Generates bitmap data for the image from a FusionCharts export format the height and width of the original export needs to be specified the default background color should also be specified

setBitmapData ( string imageData_FCFormat, string width, string height, string bgcolor ) : void

Generates bitmap data for the image from a FusionCharts export format the height and width of the original export needs to be specified the default background color can also be specified

Method Details

ImageGenerator() public method

Generates bitmap data for the image from a FusionCharts export format the height and width of the original export needs to be specified the default background color can also be specified
public ImageGenerator ( string imageData_FCFormat, string width, string height, string bgcolor ) : System
imageData_FCFormat string
width string
height string
bgcolor string
return System

getBinaryStream() public method

Gets the binary data stream of the image The passed parameter determines the file format of the image to be exported
public getBinaryStream ( string strFormat ) : MemoryStream
strFormat string
return System.IO.MemoryStream