Class CaptchaOptions
Inheritance
CaptchaOptions
Assembly: Volo.CmsKit.Public.Web.dll
Syntax
public class CaptchaOptions
Constructors
CaptchaOptions()
Declaration
CaptchaOptions(int, int, int, int)
Declaration
public CaptchaOptions(int number1MinValue, int number1MaxValue, int number2MinValue, int number2MaxValue)
Parameters
Type |
Name |
Description |
int |
number1MinValue |
|
int |
number1MaxValue |
|
int |
number2MinValue |
|
int |
number2MaxValue |
|
Properties
DrawLines
Declaration
public byte DrawLines { get; set; }
Property Value
DrawLinesColor
Declaration
public MagickColor[] DrawLinesColor { get; set; }
Property Value
Type |
Description |
MagickColor[] |
|
DurationOfValidity
Declaration
public TimeSpan DurationOfValidity { get; set; }
Property Value
Encoder
Declaration
public MagickFormat Encoder { get; }
Property Value
Type |
Description |
MagickFormat |
|
EncoderType
Declaration
public EncoderTypes EncoderType { get; set; }
Property Value
FontSize
Declaration
public byte FontSize { get; set; }
Property Value
FontStyle
Declaration
public FontStyleType FontStyle { get; set; }
Property Value
Type |
Description |
FontStyleType |
|
Height
Declaration
public ushort Height { get; set; }
Property Value
MaxLineThickness
Declaration
public float MaxLineThickness { get; set; }
Property Value
MaxRotationDegrees
Declaration
public byte MaxRotationDegrees { get; set; }
Property Value
MinLineThickness
Declaration
public float MinLineThickness { get; set; }
Property Value
NoiseRate
Declaration
public ushort NoiseRate { get; set; }
Property Value
NoiseRateColor
Declaration
public MagickColor[] NoiseRateColor { get; set; }
Property Value
Type |
Description |
MagickColor[] |
|
Number1MaxValue
Declaration
public int Number1MaxValue { get; set; }
Property Value
Number1MinValue
Declaration
public int Number1MinValue { get; set; }
Property Value
Number2MaxValue
Declaration
public int Number2MaxValue { get; set; }
Property Value
Number2MinValue
Declaration
public int Number2MinValue { get; set; }
Property Value
TextColor
Declaration
public MagickColor[] TextColor { get; set; }
Property Value
Type |
Description |
MagickColor[] |
|
Width
Declaration
public ushort Width { get; set; }
Property Value
Extension Methods