This project is read-only.

BasicEnglishAutoInputProtectionTextProvider class

The BasicEnglishAutoInputProtectionTextProvider class is a text provider that provides a word from the Ogden Basic English Dictionary, which is included in the AIP assembly as an embedded resource. The chosen word is constrained to the specified minimum and maximum number of characters.

See Wiktionary.org, Appendix:Basic English word list.

For more information about text providers, see AIP Providers, Text Providers.

Inheritance Hierarchy

  • AutoInputProtectionTextProvider
    • BasicEnglishAutoInputProtectionTextProvider

Configuration

The following table defines the xml attributes suppored by this class for configuration. The attributes are specified on the add element that registers the provider in the textProviders collection element in your web.config file.

Attribute Name Default Value Type Inherited From Description
colors required System.Drawing.Color list separated by commas AutoInputProtectionTextProvider List of colors that will be sampled at random for each character.
fonts required String list separated by commas AutoInputProtectionTextProvider List of font-family names that will be sampled at random for each character.
minimumFontSize 15 Int32 AutoInputProtectionTextProvider Specifies the minimum random font size for each character, in pixels.
maximumFontSize 25 Int32 AutoInputProtectionTextProvider Specifies the maximum random font size for each character, in pixels.
minimumCharacters 4 Int32 AutoInputProtectionTextProvider Specifies the minimum number of characters.
maximumCharacters 6 Int32 AutoInputProtectionTextProvider Specifies the maximum number of characters.

Last edited Apr 23, 2007 at 8:27 PM by davedev, version 1

Comments

No comments yet.