The CaptchaImage type exposes the following members.

Constructors

  Name Description
Public method CaptchaImage(String, Int32, Int32)
Initializes a new instance of the CaptchaImage class using the specified text, width and height.
Public method CaptchaImage(String, Int32, Int32, String)
Initializes a new instance of the CaptchaImage class using the specified text, width, height and font family.
Public method CaptchaImage(String, Int32, Int32, String, Color, Color)
Initializes a new instance of the CaptchaImage class using the specified text, width, height, font family, ForeColor and BackgroundColor.

Methods

  Name Description
Public method Dispose()()()()
Releases all resources used by this object.
Protected method Dispose(Boolean)
Custom Dispose method to clean up unmanaged resources.
Protected method Finalize
This member overrides Object.Finalize.
(Overrides Object..::..Finalize()()()().)
Public method Static member GenerateRandomCode
Generate random captcha code.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Properties

  Name Description
Public property BackgroundColor
Gets the background color.
Public property ForeColor
Gets the Fore color.
Public property Height
Gets the Height.
Public property Image
Gets the captcha image.
Public property Text
Gets the text value.
Public property Width
Gets the Width.

See Also