C# Класс CaptchaImage.CaptchaImage

Summary description for CaptchaImage.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Custom Dispose method to clean up unmanaged resources.

Приватные методы

Метод Описание
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.

Описание методов

CaptchaImage() публичный Метод

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
Результат System

CaptchaImage() публичный Метод

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
Результат System

Dispose() публичный Метод

Releases all resources used by this object.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Custom Dispose method to clean up unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void