Class TextTagDefinition
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
stringGets or sets the definitionId. (required).
type
FieldTypeGets or sets the type. (required).
signerIndex
intGets or sets the signerIndex.
isRequired
boolGets or sets the isRequired.
placeholder
stringGets or sets the placeholder for textbox.
fieldId
stringGets or sets a fieldId.
font
Fontfont.
validation
ValidationGets or sets the validation.
size
SizeGets or sets the bounds.
dateFormat
stringGets or sets the dateFormat.
radioGroupName
stringGets or sets the radioGroupName.
value
stringThe form field value, applicable only for label and textbox fields.
dropdownOptions
List<string>Fets or sets the dropdown Options.
imageInfo
ImageInfoGets or sets the imageInfo.
hyperlinkText
stringGets or sets the hyperlinkText.
attachmentInfo
AttachmentInfoGets or sets the attachmentInfo.
timeFormat
stringGets or sets the timeFormat.
Properties
AttachmentInfo
Gets or sets the attachment info.
[DataMember(Name = "attachmentInfo", EmitDefaultValue = false)]
public AttachmentInfo AttachmentInfo { get; set; }
Property Value
DateFormat
Gets or sets DateFormat.
[DataMember(Name = "dateFormat", EmitDefaultValue = false)]
public string DateFormat { get; set; }
Property Value
DefinitionId
Gets or sets DefinitionId.
[DataMember(Name = "definitionId", EmitDefaultValue = false)]
public string DefinitionId { get; set; }
Property Value
DropdownOptions
Gets or sets dropdown options.
[DataMember(Name = "dropdownOptions", EmitDefaultValue = false)]
public List<string> DropdownOptions { get; set; }
Property Value
FieldId
Gets or sets FieldId.
[DataMember(Name = "fieldId", EmitDefaultValue = false)]
public string FieldId { get; set; }
Property Value
Font
Gets or sets Font.
[DataMember(Name = "font", EmitDefaultValue = false)]
public Font Font { get; set; }
Property Value
HyperlinkText
Gets or sets the HyperlinkText.
[DataMember(Name = "hyperlinkText", EmitDefaultValue = false)]
public string HyperlinkText { get; set; }
Property Value
ImageInfo
Gets or sets the image info.
[DataMember(Name = "imageInfo", EmitDefaultValue = false)]
public ImageInfo ImageInfo { get; set; }
Property Value
IsRequired
Gets or sets a value indicating whether field is required.
[DataMember(Name = "isRequired", EmitDefaultValue = false)]
public bool IsRequired { get; set; }
Property Value
Label
Gets or sets the label.
[DataMember(Name = "label", EmitDefaultValue = false)]
public string Label { get; set; }
Property Value
Placeholder
Gets or sets placeholder for textbox.
[DataMember(Name = "placeholder", EmitDefaultValue = false)]
public string Placeholder { get; set; }
Property Value
RadioGroupName
Gets or sets RadioGroupName.
[DataMember(Name = "radioGroupName", EmitDefaultValue = false)]
public string RadioGroupName { get; set; }
Property Value
SignerIndex
Gets or sets SignerIndex.
[Range(1, 50)]
[DataMember(Name = "signerIndex", EmitDefaultValue = false)]
public int SignerIndex { get; set; }
Property Value
Size
Gets or sets Bounds.
[DataMember(Name = "size", EmitDefaultValue = false)]
public Size Size { get; set; }
Property Value
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?
TimeFormat
Gets or sets timeFormat.
[DataMember(Name = "timeFormat", EmitDefaultValue = false)]
public string TimeFormat { get; set; }
Property Value
Type
Gets or sets Type.
[DataMember(Name = "type", EmitDefaultValue = false)]
public FieldType Type { get; set; }
Property Value
Validation
Gets or sets Validation.
[DataMember(Name = "validation", EmitDefaultValue = false)]
public Validation Validation { get; set; }
Property Value
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; }