Table of Contents

Class TextTagDefinition

Namespace
BoldSign.Api.Model
Assembly
BoldSign.Api.dll

The text tag model.

public class TextTagDefinition
Inheritance
TextTagDefinition
Inherited Members

Constructors

TextTagDefinition(string, FieldType, int, bool, string, string, Font, Validation, Size, string, string, string, List<string>, ImageInfo, string, AttachmentInfo, string)

Initializes a new instance of the TextTagDefinition class.

public TextTagDefinition(string definitionId, FieldType type, int signerIndex, bool isRequired, string placeholder = null, string fieldId = null, Font font = null, Validation validation = null, Size size = null, string dateFormat = null, string radioGroupName = null, string value = null, List<string> dropdownOptions = null, ImageInfo imageInfo = null, string hyperlinkText = null, AttachmentInfo attachmentInfo = null, string timeFormat = null)

Parameters

definitionId string

Gets or sets the definitionId. (required).

type FieldType

Gets or sets the type. (required).

signerIndex int

Gets or sets the signerIndex.

isRequired bool

Gets or sets the isRequired.

placeholder string

Gets or sets the placeholder for textbox.

fieldId string

Gets or sets a fieldId.

font Font

font.

validation Validation

Gets or sets the validation.

size Size

Gets or sets the bounds.

dateFormat string

Gets or sets the dateFormat.

radioGroupName string

Gets or sets the radioGroupName.

value string

The form field value, applicable only for label and textbox fields.

dropdownOptions List<string>

Fets or sets the dropdown Options.

imageInfo ImageInfo

Gets or sets the imageInfo.

hyperlinkText string

Gets or sets the hyperlinkText.

attachmentInfo AttachmentInfo

Gets or sets the attachmentInfo.

timeFormat string

Gets or sets the timeFormat.

Properties

AttachmentInfo

Gets or sets the attachment info.

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

Property Value

AttachmentInfo

CharacterLimit

Gets or sets the character limit.

[DataMember(Name = "characterLimit", EmitDefaultValue = true)]
public int CharacterLimit { get; set; }

Property Value

int

Gets or sets the line height.

CharacterSpacing

Gets or sets the space of the character.

[DataMember(Name = "characterSpacing", EmitDefaultValue = true)]
public float CharacterSpacing { get; set; }

Property Value

float

Gets or sets the characterSpacing.

DataSyncTag

Gets or sets the data sync tag value and it's only applicable for textbox, image, dropdown, checkbox fields, it won't affect the other fields.

[DataMember(Name = "dataSyncTag", EmitDefaultValue = true)]
public string DataSyncTag { get; set; }

Property Value

string

Gets or sets the DataSyncTag.

DateFormat

Gets or sets DateFormat.

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

Property Value

string

DefinitionId

Gets or sets DefinitionId.

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

Property Value

string

DropdownOptions

Gets or sets dropdown options.

[DataMember(Name = "dropdownOptions", EmitDefaultValue = false)]
public List<string> DropdownOptions { get; set; }

Property Value

List<string>

FieldId

Gets or sets FieldId.

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

Property Value

string

Font

Gets or sets Font.

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

Property Value

Font

GroupName

Gets or sets the GroupName for grouped check box fields.

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

Property Value

string

HyperlinkText

Gets or sets the HyperlinkText.

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

Property Value

string

ImageInfo

Gets or sets the image info.

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

Property Value

ImageInfo

IsReadOnly

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

[DataMember(Name = "isReadOnly", EmitDefaultValue = false)]
public bool IsReadOnly { get; set; }

Property Value

bool

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

IsRequired

Gets or sets a value indicating whether field is required.

[DataMember(Name = "isRequired", EmitDefaultValue = false)]
public bool IsRequired { get; set; }

Property Value

bool

Label

Gets or sets the label.

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

Property Value

string

Offset

Gets or sets the Offset Position of textTag.

[DataMember(Name = "offset", EmitDefaultValue = false)]
public TextTagOffset Offset { get; set; }

Property Value

TextTagOffset

Placeholder

Gets or sets placeholder for textbox.

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

Property Value

string

RadioGroupName

Gets or sets RadioGroupName.

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

Property Value

string

ResizeOption

Gets or sets the resize option.

[DataMember(Name = "resizeOption", EmitDefaultValue = true)]
public ResizeOptions? ResizeOption { get; set; }

Property Value

ResizeOptions?

SignerIndex

Gets or sets SignerIndex.

[Range(1, 50)]
[DataMember(Name = "signerIndex", EmitDefaultValue = false)]
public int SignerIndex { get; set; }

Property Value

int

Size

Gets or sets Bounds.

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

Property Value

Size

TabIndex

Gets or sets the Tab Index.

[DataMember(Name = "tabIndex", EmitDefaultValue = false)]
[Range(-1, 2147483647, ErrorMessage = "The minimum value must be -1 or higher")]
public int? TabIndex { get; set; }

Property Value

int?

TextAlign

Gets or sets the TextAlign to be set to the form field.

[DataMember(Name = "textAlign", EmitDefaultValue = true)]
public TextAlign TextAlign { get; set; }

Property Value

TextAlign

Gets or sets the TextAlign.

TextDirection

Gets or sets the direction of the text..

[DataMember(Name = "textDirection", EmitDefaultValue = true)]
public TextDirection TextDirection { get; set; }

Property Value

TextDirection

Gets or sets the direction of the text.

TimeFormat

Gets or sets timeFormat.

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

Property Value

string

Type

Gets or sets Type.

[DataMember(Name = "type", EmitDefaultValue = false)]
public FieldType Type { get; set; }

Property Value

FieldType

Validation

Gets or sets Validation.

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

Property Value

Validation

Value

Gets or sets value for the text tag definition. The value property is allowed only on the textbox and label fields.

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

Property Value

string