C# Class CaptchaImage.CaptchaImage

Summary description for CaptchaImage.
ファイルを表示 Open project: adlnet/3D-Repository Class Usage Examples

Public Methods

Method Description
CaptchaImage ( string s, int width, int height ) : System

Initializes a new instance of the CaptchaImage class using the specified text, width and height.

CaptchaImage ( string s, int width, int height, string familyName ) : System

Initializes a new instance of the CaptchaImage class using the specified text, width, height and font family.

Dispose ( ) : void

Releases all resources used by this object.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Custom Dispose method to clean up unmanaged resources.

Private Methods

Method Description
GenerateImage ( ) : void

Creates the bitmap image.

SetDimensions ( int width, int height ) : void

Sets the image width and height.

SetFamilyName ( string familyName ) : void

Sets the font used for the image text.

Method Details

CaptchaImage() public method

Initializes a new instance of the CaptchaImage class using the specified text, width and height.
public CaptchaImage ( string s, int width, int height ) : System
s string
width int
height int
return System

CaptchaImage() public method

Initializes a new instance of the CaptchaImage class using the specified text, width, height and font family.
public CaptchaImage ( string s, int width, int height, string familyName ) : System
s string
width int
height int
familyName string
return System

Dispose() public method

Releases all resources used by this object.
public Dispose ( ) : void
return void

Dispose() protected method

Custom Dispose method to clean up unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool
return void