Back to Devexpress

CaptchaImageProperties.FontStyle Property

aspnet-devexpress-dot-web-dot-captcha-dot-captchaimageproperties-d66c0cb3.md

latest1.7 KB
Original Source

CaptchaImageProperties.FontStyle Property

Gets the style settings used to paint a font within the challenge image.

Namespace : DevExpress.Web.Captcha

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(CaptchaFontStyle.Italic)]
public CaptchaFontStyle FontStyle { get; set; }
vb
<DefaultValue(CaptchaFontStyle.Italic)>
Public Property FontStyle As CaptchaFontStyle

Property Value

TypeDefaultDescription
CaptchaFontStyleItalic

A CaptchaFontStyle object that contains the style settings.

|

Available values:

NameDescription
Regular

Specifies that a challenge image’s font characters are regular.

| | Bold |

Specifies that a challenge image’s font characters are bold.

| | Italic |

Specifies that a challenge image’s font characters are italic.

|

See Also

Captcha Control

CaptchaImageProperties Class

CaptchaImageProperties Members

DevExpress.Web.Captcha Namespace