Table of Contents

Class TextBoxField

Namespace
BoldSign.Model
Assembly
BoldSign.Api.dll

TextBoxField

[DataContract]
public class TextBoxField : FormField, IFormField
Inheritance
TextBoxField
Implements
Inherited Members

Constructors

TextBoxField()

Initializes a new instance of the TextBoxField class.

[JsonConstructor]
protected TextBoxField()

TextBoxField(int, Rectangle, bool, string, FontFamily, int, string, bool, bool, bool, int, int, ValidationType, string, string, string, string, string, bool)

Initializes a new instance of the TextBoxField class.

public TextBoxField(int pageNumber = 0, Rectangle bounds = null, bool isRequired = false, string value = null, FontFamily font = FontFamily.Helvetica, int fontSize = 0, string fontHexColor = null, bool isBoldFont = false, bool isItalicFont = false, bool isUnderLineFont = false, int lineHeight = 0, int characterLimit = 0, ValidationType validationType = (ValidationType)0, string validationCustomRegex = null, string placeholder = null, string id = null, string validationCustomRegexMessage = null, string dataSyncTag = null, bool isReadOnly = false)

Parameters

pageNumber int

pageNumber.

bounds Rectangle

bounds (required).

isRequired bool

isRequired.

value string

value.

font FontFamily

font (required).

fontSize int

fontSize.

fontHexColor string

fontHexColor.

isBoldFont bool

isBoldFont.

isItalicFont bool

isItalicFont.

isUnderLineFont bool

isUnderLineFont.

lineHeight int

lineHeight.

characterLimit int

characterLimit.

validationType ValidationType

validationType.

validationCustomRegex string

validationCustomRegex.

placeholder string

placeHolder.

id string

id.

validationCustomRegexMessage string

validationCustomRegexMessage.

dataSyncTag string

dataSyncTag.

isReadOnly bool

Gets or sets a value indicating whether is read only mode.

TextBoxField(string, int, Rectangle, bool, string, FontFamily, int, string, bool, bool, bool, int, int, ValidationType, string, string, string, string)

Initializes a new instance of the TextBoxField class.

[Obsolete("Name is deprecated, please use Id instead")]
public TextBoxField(string name = null, int pageNumber = 0, Rectangle bounds = null, bool isRequired = false, string value = null, FontFamily font = FontFamily.Helvetica, int fontSize = 0, string fontHexColor = null, bool isBoldFont = false, bool isItalicFont = false, bool isUnderLineFont = false, int lineHeight = 0, int characterLimit = 0, ValidationType validationType = (ValidationType)0, string validationCustomRegex = null, string placeholder = null, string validationCustomRegexMessage = null, string dataSyncTag = null)

Parameters

name string

name.

pageNumber int

pageNumber.

bounds Rectangle

bounds (required).

isRequired bool

isRequired.

value string

value.

font FontFamily

font (required).

fontSize int

fontSize.

fontHexColor string

fontHexColor.

isBoldFont bool

isBoldFont.

isItalicFont bool

isItalicFont.

isUnderLineFont bool

isUnderLineFont.

lineHeight int

lineHeight.

characterLimit int

characterLimit.

validationType ValidationType

validationType.

validationCustomRegex string

validationCustomRegex.

placeholder string

placeHolder.

validationCustomRegexMessage string

validationCustomRegexMessage.

dataSyncTag string

dataSyncTag.

Properties

Placeholder

Gets or Sets Placeholder value

[DataMember(Name = "placeholder", EmitDefaultValue = false)]
public string Placeholder { get; set; }

Property Value

string

Type

Gets the form field type.It is a read only property.

[DataMember(Name = "fieldType", EmitDefaultValue = true)]
public override FieldType Type { get; set; }

Property Value

FieldType

ValidationCustomRegex

Gets or Sets ValidationCustomRegex

[DataMember(Name = "validationCustomRegex", EmitDefaultValue = false)]
public string ValidationCustomRegex { get; set; }

Property Value

string

ValidationCustomRegexMessage

[DataMember(Name = "validationCustomRegexMessage", EmitDefaultValue = false)]
public string ValidationCustomRegexMessage { get; set; }

Property Value

string

ValidationType

Gets or Sets ValidationType

[DataMember(Name = "validationType", EmitDefaultValue = false)]
public ValidationType ValidationType { get; set; }

Property Value

ValidationType