Class DocumentFormFields
The document form fields properties include, font, font color, font size and so on.
Inheritance
Namespace: BoldSign.Model
Assembly: BoldSign.Api.dll
Syntax
public class DocumentFormFields : object
Constructors
| Improve this Doc View SourceDocumentFormFields(String, String, String, String, Nullable<Boolean>, Nullable<Single>, Nullable<Single>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, ValidationType, String, String, ImageInfo, AttachmentInfo, EditableDateFieldSettings, String, String, FileInfo, List<String>, Nullable<Boolean>, List<ConditionalRule>, TextAlign, TextDirection, Single, String, String)
Initializes a new instance of the DocumentFormFields class.
Declaration
public DocumentFormFields(string id = null, string type = null, string value = null, string font = null, bool? isRequired = null, float? lineHeight = null, float? fontSize = null, string fontColor = null, bool? isUnderline = null, bool? isItalic = null, bool? isBold = null, string placeholder = null, string dateFormat = null, ValidationType validationType = (ValidationType)0, string validationCustomRegex = null, string validationCustomRegexMessage = null, ImageInfo imageInfo = null, AttachmentInfo attachmentInfo = null, EditableDateFieldSettings editableDateFieldSettings = null, string hyperlinkText = null, string dataSyncTag = null, FileInfo fileInfo = null, List<string> dropdownOptions = null, bool? isReadOnly = null, List<ConditionalRule> conditionalRules = null, TextAlign textAlign = TextAlign.Left, TextDirection textDirection = TextDirection.LTR, float characterSpacing = null, string label = null, string timeFormat = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Gets or sets the id.. |
System.String | type | Gets or sets the element type.. |
System.String | value | Gets or sets the element type.. |
System.String | font | Gets or sets the element type.. |
System.Nullable<System.Boolean> | isRequired | Gets or sets a value indicating whether is required.. |
System.Nullable<System.Single> | lineHeight | Gets or sets the line height.. |
System.Nullable<System.Single> | fontSize | Gets or sets the font size.. |
System.String | fontColor | Gets or sets the font color.. |
System.Nullable<System.Boolean> | isUnderline | Gets or sets a value indicating whether isUnderline.. |
System.Nullable<System.Boolean> | isItalic | Gets or sets a value indicating whether isItalic.. |
System.Nullable<System.Boolean> | isBold | Gets or sets a value indicating whether isBold.. |
System.String | placeholder | Gets or sets the placeHolder value.. |
System.String | dateFormat | Gets or sets the dateFormat value.. |
ValidationType | validationType | Gets or sets the textbox ValidationType value.. |
System.String | validationCustomRegex | Gets or sets the textbox ValidationCustomRegex value.. |
System.String | validationCustomRegexMessage | Gets or sets the textbox ValidationCustomRegexMessage value.. |
ImageInfo | imageInfo | Gets or sets the imageField. |
AttachmentInfo | attachmentInfo | Gets or sets the attachmentField. |
EditableDateFieldSettings | editableDateFieldSettings | Gets or sets the editableDateFieldSettings. |
System.String | hyperlinkText | Gets or sets the hyperlinkText. |
System.String | dataSyncTag | Gets or sets the dataSyncTag. |
FileInfo | fileInfo | Gets or sets the download attachment fileInfo. |
List<System.String> | dropdownOptions | Gets or sets the dropdownOptions. |
System.Nullable<System.Boolean> | isReadOnly | Gets or sets a value indicating whether is read only mode. |
List<ConditionalRule> | conditionalRules | Gets or sets the conditionalRules. |
TextAlign | textAlign | Gets or sets the textAlign. |
TextDirection | textDirection | Gets or sets the direction of the text. |
System.Single | characterSpacing | Gets or sets the space of the character. |
System.String | label | Gets or sets the label value. |
System.String | timeFormat | Gets or sets the timeFormat value.. |
Properties
| Improve this Doc View SourceAttachmentInfo
Gets or sets the Attachment Information. .
Declaration
public AttachmentInfo AttachmentInfo { get; set; }
Property Value
Type | Description |
---|---|
AttachmentInfo |
BackgroundHexColor
Gets or sets the background hex color. The BackgroundHexColor property allows you to set the background color of a label field using hexadecimal color codes ("#FF5733"). The default color is transparent or no background color. Default value is null.
Declaration
public string BackgroundHexColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets the value of backgroundColor. |
Bounds
Gets or sets the bounds.
Declaration
public Rectangle Bounds { get; set; }
Property Value
Type | Description |
---|---|
Rectangle |
CharacterSpacing
Gets or sets the character spacing.
Declaration
public float CharacterSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Gets the value of character spacing. |
ConditionalRules
Gets or sets the conditional rules value, this property helps to frame rules.
Declaration
public List<ConditionalRule> ConditionalRules { get; set; }
Property Value
Type | Description |
---|---|
List<ConditionalRule> |
DataSyncTag
Gets or sets the data sync tag value, this property helps to group the similar element types and it's only applicable for textbox, image, dropdown, checkbox fields, it won't affect the other fields.
Declaration
public string DataSyncTag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DateFormat
Gets or sets the DateFormat value.
Declaration
public string DateFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the DateFormat value. |
DropdownOptions
Gets or sets the Dropdown Options.
Declaration
public List<string> DropdownOptions { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
EditableDateFieldSettings
Gets or sets the EditableDateFieldSettings Information. .
Declaration
public EditableDateFieldSettings EditableDateFieldSettings { get; set; }
Property Value
Type | Description |
---|---|
EditableDateFieldSettings |
FileInfo
Gets or sets the file info.
Declaration
public FileInfo FileInfo { get; set; }
Property Value
Type | Description |
---|---|
FileInfo |
Font
Gets or sets the Font type among the three available types courier, helvetica, times new roman.
Declaration
public string Font { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the element type. |
FontColor
Gets or sets the font color.
Declaration
public string FontColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the font color. |
FontSize
Gets or sets the font size.
Declaration
public float? FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> | Gets or sets the font size. |
GroupName
Gets or sets the group name of a radio field.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the name. |
HyperlinkText
Gets or sets the element HyperlinkText.
Declaration
public string HyperlinkText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets the value of element HyperlinkText. |
Id
Gets or sets the Id.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the id. |
ImageInfo
Gets or sets the Image Information. .
Declaration
public ImageInfo ImageInfo { get; set; }
Property Value
Type | Description |
---|---|
ImageInfo |
IsBold
Gets or sets a value indicating whether isBold.
Declaration
public bool? IsBold { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Gets or sets a value indicating whether isBold. |
IsItalic
Gets or sets a value indicating whether isItalic.
Declaration
public bool? IsItalic { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Gets or sets a value indicating whether isItalic. |
IsReadOnly
Gets or sets a value indicating whether is read only mode.
Declaration
public bool? IsReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Gets or sets a value indicating whether is read only mode. |
IsRequired
Gets or sets a value indicating whether is required.
Declaration
public bool? IsRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Gets or sets a value indicating whether is required. |
IsUnderline
Gets or sets a value indicating whether isUnderline.
Declaration
public bool? IsUnderline { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Gets or sets a value indicating whether isUnderline. |
Label
Gets or sets the Label for radio button fields.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LineHeight
Gets or sets the line height for the content in form fields such as text box.
Declaration
public float? LineHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> | Gets or sets the line height. |
PageNumber
Gets or sets the pageNumber.
Declaration
public int PageNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Placeholder
Gets or sets the placeHolder value.
Declaration
public string Placeholder { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the element type. |
TabIndex
Gets or sets the tab index position .
Declaration
public int TabIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TextAlign
Gets or sets the textAlign.
Declaration
public TextAlign TextAlign { get; set; }
Property Value
Type | Description |
---|---|
TextAlign |
TextDirection
Gets or sets the direction of the text.
Declaration
public TextDirection TextDirection { get; set; }
Property Value
Type | Description |
---|---|
TextDirection |
TimeFormat
Gets or sets the TimeFormat value.
Declaration
public string TimeFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets the value of TimeFormat. |
Type
Gets or sets the element type.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the element type. |
ValidationCustomRegex
Gets or sets the text ValidationCustomRegex value.
Declaration
public string ValidationCustomRegex { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationCustomRegexMessage
Gets or sets the text ValidationCustomRegexMessage value.
Declaration
public string ValidationCustomRegexMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationType
Gets or sets the textbox ValidationType value.
Declaration
public ValidationType ValidationType { get; set; }
Property Value
Type | Description |
---|---|
ValidationType |
Value
Gets or sets the element type.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the element type. |
Methods
| Improve this Doc View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |