Image Verification Code Control Suite
It includes a validatecodeimage control that generates only one verification code image and a validatecodecontrol that integrates the verification function. You can only use validatecodeimage. However, to use validatecodecontrol, a page must use the validatecodeimage control to call validatecodecontrol. The reason is very simple. I believe everyone knows that I will not be too long.
It must be noted that both controls provide the validatecodesessionname attribute, which must have the same names. Otherwise, the system will always fail the verification or "the instance with the object not referenced" error will occur.
Function:
1. Set the value range of the Verification Code characters
2. Set the verification code length.
3. Set whether the verification code length is random or fixed.
4. Set whether the Character Color of the verification code is static or random)
5. Each character of the verification code can be set to a different color (randomall)
6. You can set the background color of the verification code.
7. You can set the border color and Border width of the verification code.
8. The border color of the verification code can be random.
9. You can set the level of the interference line (defined by the system) or the number of custom interference lines.
10. You can set the length of the interference line.
11. Random verification code font
........
Because there is no way to plot in the specified area of the page, a control integrating the verification code input control and the link to refresh the verification code is provided. The control provides a bool ismatch () method and a heavy load bool ismatch (bool bingorecase) of this method ). When submitting an operation, you only need to call this method or reload it for verification.
In addition, we have discussed whether there is a way to draw a picture on a page or control at a specified position or control?
Attachment: Image verification code control and demo