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)
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)
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. |
Properties
| Improve this Doc View SourceAttachmentInfo
Gets or sets the Attachment Information. .
Declaration
public AttachmentInfo AttachmentInfo { get; set; }
Property Value
Type | Description |
---|---|
AttachmentInfo |
Bounds
Gets or sets the bounds.
Declaration
public Rectangle Bounds { get; set; }
Property Value
Type | Description |
---|---|
Rectangle |
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. |
EditableDateFieldSettings
Gets or sets the EditableDateFieldSettings Information. .
Declaration
public EditableDateFieldSettings EditableDateFieldSettings { get; set; }
Property Value
Type | Description |
---|---|
EditableDateFieldSettings |
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. |
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. |
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. |
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 |