C# Class FCJSPDFGenerator, temona.Iot.study

FusionCharts Exporter - 'PDF Resource' handles FusionCharts (since v3.1) Server Side Export feature that helps FusionCharts exported as PDF file.
Exibir arquivo Open project: TEMONA/temona.Iot.study Class Usage Examples

Public Methods

Method Description
FCJSPDFGenerator ( bool IsJsChart, MemoryStream ImageStream, string width, string height ) : System
FCJSPDFGenerator ( bool IsJsChart, string fileName, string width, string height ) : System
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
addImageToPDF ( int id, bool isCompressed ) : byte[]
calculateXPos ( int posn ) : string
getBitmapData24 ( MemoryStream ImageStream ) : byte[]
getBitmapData24 ( string fileName ) : byte[]
getPDFObjects ( bool isCompressed ) : byte[]
getTrailer ( int xrefpos ) : string
getTrailer ( int xrefpos, int numxref ) : string
getXObjResource ( ) : string
getXObjResource ( int itr ) : string
hexToBytes ( string strHex ) : byte[]
stringToBytes ( string str ) : byte[]

Method Details

FCJSPDFGenerator() public method

public FCJSPDFGenerator ( bool IsJsChart, MemoryStream ImageStream, string width, string height ) : System
IsJsChart bool
ImageStream MemoryStream
width string
height string
return System

FCJSPDFGenerator() public method

public FCJSPDFGenerator ( bool IsJsChart, string fileName, string width, string height ) : System
IsJsChart bool
fileName string
width string
height 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 MemoryStream