C# Class ImageEngine, getputs

Summary description for ImageEngine
Mostra file Open project: vatsal/getputs Class Usage Examples

Public Methods

Method Description
ByteArrayToImage ( byte byteArrayIn ) : Image
CreateThumbnail ( byte byteArrayIn ) : Bitmap
CreateThumbnail ( byte byteArrayIn, int lnWidth, int lnHeight ) : Bitmap
CreateThumbnail ( string lcFilename, int lnWidth, int lnHeight ) : Bitmap
ImageEngine ( ) : System
LoadIconLocation ( string tag ) : string

Load the Image for the given Tag.

LoadSpriteIcon ( string tag ) : string

Load Icons from Icon Sprite (Uses sprite.css) for loading Icons. This method is quicker as compared to using the LoadIconLocation() Method of ImageEngine.cs.

LoadSpriteStaticIcon ( string tag ) : string

Load Icons from Icon Sprite (Uses sprite.css) for loading Icons. This method is quicker as compared to using the LoadStaticIconLocation() Method of ImageEngine.cs.

LoadStaticIconLocation ( string iconName ) : string

Load the Static Icon Image for the given iconName.

ScaleBitmap ( Bitmap Bitmap, int scaleWidth, int scaleHeight ) : Bitmap

Method Details

ByteArrayToImage() public method

public ByteArrayToImage ( byte byteArrayIn ) : Image
byteArrayIn byte
return System.Drawing.Image

CreateThumbnail() public method

public CreateThumbnail ( byte byteArrayIn ) : Bitmap
byteArrayIn byte
return Bitmap

CreateThumbnail() public method

public CreateThumbnail ( byte byteArrayIn, int lnWidth, int lnHeight ) : Bitmap
byteArrayIn byte
lnWidth int
lnHeight int
return Bitmap

CreateThumbnail() public method

public CreateThumbnail ( string lcFilename, int lnWidth, int lnHeight ) : Bitmap
lcFilename string
lnWidth int
lnHeight int
return Bitmap

ImageEngine() public method

public ImageEngine ( ) : System
return System

LoadIconLocation() public method

Load the Image for the given Tag.
public LoadIconLocation ( string tag ) : string
tag string
return string

LoadSpriteIcon() public method

Load Icons from Icon Sprite (Uses sprite.css) for loading Icons. This method is quicker as compared to using the LoadIconLocation() Method of ImageEngine.cs.
public LoadSpriteIcon ( string tag ) : string
tag string The input Category.
return string

LoadSpriteStaticIcon() public method

Load Icons from Icon Sprite (Uses sprite.css) for loading Icons. This method is quicker as compared to using the LoadStaticIconLocation() Method of ImageEngine.cs.
public LoadSpriteStaticIcon ( string tag ) : string
tag string The input tag.
return string

LoadStaticIconLocation() public method

Load the Static Icon Image for the given iconName.
public LoadStaticIconLocation ( string iconName ) : string
iconName string The input iconName.
return string

ScaleBitmap() public method

public ScaleBitmap ( Bitmap Bitmap, int scaleWidth, int scaleHeight ) : Bitmap
Bitmap Bitmap
scaleWidth int
scaleHeight int
return Bitmap