Click or drag to resize
CaptchaImage Class
KaxCaptcha image generation class
Inheritance Hierarchy

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
public class CaptchaImage

The CaptchaImage type exposes the following members.

Public methodRenderImage
Forces a new Captcha image to be generated using current property value settings.
Public propertyAudioFilesPath
Gets or sets the path to the directory where the audio (.wav) files are located. The default value is ~/App_Data/KaxCaptcha.
Public propertyBackgroundColor
Gets or sets the background color of the CaptchaImage.
Public propertyBackgroundNoise
Gets or sets the amount of background noise to generate in the KaxCaptcha image.
Public propertyCharSet
Gets or sets a custom Character Set, from which the characters used to render KaxCaptcha, are randomly chosen. The TextChars property must be set to CustomCharSet.
Public propertyEnableCaptchaAudio
Gets or sets the bool value indicating whether the CaptchaAudio will be enabled.
Public propertyFontFamily
Gets or sets the font used to render KaxCaptcha text.
Public propertyFontWarp
Gets or sets the amount of random font warping used on the KaxCaptcha text.
Public propertyFontWhitelist
Gets or sets a semicolon-delimited list of valid fonts to use when no font is provided.
Public propertyHeight
Gets or sets the height of the KaxCaptcha image.
Public propertyImageAlternativeText
Gets or sets the KaxCaptcha image alternative text.
Public propertyImageCssClass
Gets or sets the KaxCaptcha image CSS class.
Public propertyLineNoise
Gets or sets the line noise level to the KaxCaptcha image.
Public propertyRenderedAt
Gets the date and time this image was last rendered
Public propertyRenderImageOnly
Gets or sets bool value that indicates whether the KaxCaptcha Image will only be rendered on the page (without the textbox and Label).
Public propertyText
Gets the randomly generated KaxCaptcha text.
Public propertyTextChars
Gets or sets the characters used to render KaxCaptcha text. A character will be picked randomly from the string.
Public propertyTextColor
Gets or sets the color of the KaxCaptcha text.
Public propertyTextLength
Gets or sets the number of CaptchaChars used in the KaxCaptcha text.
Public propertyUniqueId
Gets a GUID that uniquely identifies this KaxCaptcha
Public propertyUseAudioFiles
Gets or sets a bool value indicating whether the audio code will be generated by concatenation of the audio files from a given folder.
Public propertyUseRandomFont
Gets or sets a bool value indicating whether a random font will be used to generate the CaptchaImage text.
Public propertyWidth
Gets or sets the width of the KaxCaptcha image.
See Also