您目前尚未登陆,请选择【登陆】或【注册
首页->控件插件->Vb.net验证码控件及Demo源码>>WebSiteCaptcha/Bin/WebControlCaptcha.xml>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Vb.net验证码控件及Demo源码
当前文件:文件类型 VBCaptcha/WebSiteCaptcha/Bin/WebControlCaptcha.xml打开代码结构图
普通视图
		            
1<?xml version="1.0"?> 2<doc> 3<assembly> 4<name> 5WebControlCaptcha 6</name> 7</assembly> 8<members> 9<member name="P:WebControlCaptcha.CaptchaControl.IsDesignMode"> 10 <summary> 11 are we in design mode? 12 </summary> 13</member><member name="M:WebControlCaptcha.CaptchaControl.ValidateCaptcha(System.String)"> 14 <summary> 15 Validate the user's text against the CAPTCHA text 16 </summary> 17</member><member name="M:WebControlCaptcha.CaptchaControl.HtmlColor(System.Drawing.Color)"> 18 <summary> 19 returns HTML-ized color strings 20 </summary> 21</member><member name="M:WebControlCaptcha.CaptchaControl.CssStyle"> 22 <summary> 23 returns css "style=" tag for this control 24 based on standard control visual properties 25 </summary> 26</member><member name="M:WebControlCaptcha.CaptchaControl.Render(System.Web.UI.HtmlTextWriter)"> 27 <summary> 28 render raw control HTML to the page 29 </summary> 30</member><member name="M:WebControlCaptcha.CaptchaControl.GenerateNewCaptcha"> 31 <summary> 32 generate a new captcha and store it in the ASP.NET Cache by unique GUID 33 </summary> 34</member><member name="M:WebControlCaptcha.CaptchaControl.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)"> 35 <summary> 36 Retrieve the user's CAPTCHA input from the posted data 37 </summary> 38</member><member name="T:WebControlCaptcha.CaptchaControl"> 39 <summary> 40 CAPTCHA ASP.NET 2.0 user control 41 </summary> 42 <remarks> 43 add a reference to this DLL and add the CaptchaControl to your toolbox; 44 then just drag and drop the control on a web form and set properties on it. 45 46 Jeff Atwood 47 http://www.codinghorror.com/ 48 </remarks> 49</member><member name="T:WebControlCaptcha.CaptchaImage.FontWarpFactor"> 50 <summary> 51 Amount of random font warping to apply to rendered text 52 </summary> 53</member><member name="T:WebControlCaptcha.CaptchaImage.BackgroundNoiseLevel"> 54 <summary> 55 Amount of background noise to add to rendered image 56 </summary> 57</member><member name="T:WebControlCaptcha.CaptchaImage.LineNoiseLevel"> 58 <summary> 59 Amount of curved line noise to add to rendered image 60 </summary> 61</member><member name="P:WebControlCaptcha.CaptchaImage.UniqueId"> 62 <summary> 63 Returns a GUID that uniquely identifies this Captcha 64 </summary> 65</member><member name="P:WebControlCaptcha.CaptchaImage.RenderedAt"> 66 <summary> 67 Returns the date and time this image was last rendered 68 </summary> 69</member><member name="P:WebControlCaptcha.CaptchaImage.Font"> 70 <summary> 71 Font family to use when drawing the Captcha text. If no font is provided, a random font will be chosen from the font whitelist for each character. 72 </summary> 73</member><member name="P:WebControlCaptcha.CaptchaImage.FontWarp"> 74 <summary> 75 Amount of random warping to apply to the Captcha text. 76 </summary> 77</member><member name="P:WebControlCaptcha.CaptchaImage.BackgroundNoise"> 78 <summary> 79 Amount of background noise to apply to the Captcha image. 80 </summary> 81</member><member name="P:WebControlCaptcha.CaptchaImage.TextChars"> 82 <summary> 83 A string of valid characters to use in the Captcha text. 84 A random character will be selected from this string for each character. 85 </summary> 86</member><member name="P:WebControlCaptcha.CaptchaImage.TextLength"> 87 <summary> 88 Number of characters to use in the Captcha text. 89 </summary> 90</member><member name="P:WebControlCaptcha.CaptchaImage.Text"> 91 <summary> 92 Returns the randomly generated Captcha text. 93 </summary> 94</member><member name="P:WebControlCaptcha.CaptchaImage.Width"> 95 <summary> 96 Width of Captcha image to generate, in pixels 97 </summary> 98</member><member name="P:WebControlCaptcha.CaptchaImage.Height"> 99 <summary> 100 Height of Captcha image to generate, in pixels 101 </summary> 102</member><member name="P:WebControlCaptcha.CaptchaImage.FontWhitelist"> 103 <summary> 104 A semicolon-delimited list of valid fonts to use when no font is provided. 105 </summary> 106</member><member name="M:WebControlCaptcha.CaptchaImage.RenderImage"> 107 <summary> 108 Forces a new Captcha image to be generated using current property value settings. 109 </summary> 110</member><member name="M:WebControlCaptcha.CaptchaImage.RandomFontFamily"> 111 <summary> 112 Returns a random font family from the font whitelist 113 </summary> 114</member><member name="M:WebControlCaptcha.CaptchaImage.GenerateRandomText"> 115 <summary> 116 generate random text for the CAPTCHA 117 </summary> 118</member><member name="M:WebControlCaptcha.CaptchaImage.RandomPoint(System.Int32,System.Int32,System.Int32@,System.Int32@)"> 119 <summary> 120 Returns a random point within the specified x and y ranges 121 </summary> 122</member><member name="M:WebControlCaptcha.CaptchaImage.RandomPoint(System.Drawing.Rectangle)"> 123 <summary> 124 Returns a random point within the specified rectangle 125 </summary> 126</member><member name="M:WebControlCaptcha.CaptchaImage.TextPath(System.String,System.Drawing.Font,System.Drawing.Rectangle)"> 127 <summary> 128 Returns a GraphicsPath containing the specified string and font 129 </summary> 130</member><member name="M:WebControlCaptcha.CaptchaImage.GetFont"> 131 <summary> 132 Returns the CAPTCHA font in an appropriate size 133 </summary> 134</member><member name="M:WebControlCaptcha.CaptchaImage.GenerateImagePrivate"> 135 <summary> 136 Renders the CAPTCHA image 137 </summary> 138</member><member name="M:WebControlCaptcha.CaptchaImage.WarpText(System.Drawing.Drawing2D.GraphicsPath,System.Drawing.Rectangle)"> 139 <summary> 140 Warp the provided text GraphicsPath by a variable amount 141 </summary> 142</member><member name="M:WebControlCaptcha.CaptchaImage.AddNoise(System.Drawing.Graphics,System.Drawing.Rectangle)"> 143 <summary> 144 Add a variable level of graphic noise to the image 145 </summary> 146</member><member name="M:WebControlCaptcha.CaptchaImage.AddLine(System.Drawing.Graphics,System.Drawing.Rectangle)"> 147 <summary> 148 Add variable level of curved lines to the image 149 </summary> 150</member><member name="T:WebControlCaptcha.CaptchaImage"> 151 <summary> 152 CAPTCHA image generation class 153 </summary> 154 <remarks> 155 Adapted from the excellent code at 156 http://www.codeproject.com/aspnet/CaptchaImage.asp 157 158 Jeff Atwood 159 http://www.codinghorror.com/ 160 </remarks> 161</member><member name="T:WebControlCaptcha.CaptchaImageHandler"> 162 <summary> 163 Captcha image stream HttpModule. Retrieves CAPTCHA objects from cache, renders them to memory, 164 and streams them to the browser. 165 </summary> 166 <remarks> 167 You *MUST* enable this HttpHandler in your web.config, like so: 168 169 &lt;httpHandlers&gt; 170 &lt;add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" /&gt; 171 &lt;/httpHandlers&gt; 172 173 Jeff Atwood 174 http://www.codinghorror.com/ 175</remarks> 176</member> 177</members> 178</doc>
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:Vb.net验证码控件及Demo源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号