Class DateSignedField
TextBoxField
[DataContract]
public class DateSignedField : FormField, IFormField
- Inheritance
-
DateSignedField
- Implements
- Inherited Members
Constructors
DateSignedField()
Initializes a new instance of the DateSignedField class.
[JsonConstructor]
protected DateSignedField()
DateSignedField(int, Rectangle, bool, string, FontFamily, int, string, bool, bool, bool, int, string, string, string)
Initializes a new instance of the DateSignedField class.
public DateSignedField(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, string dateFormat = null, string id = null, string timeFormat = null)
Parameters
pageNumber
intGets or sets the page number.
bounds
RectangleGets or sets the bounds (required).
isRequired
boolGets or sets a value indicating whether the field is required.
value
stringGets or sets the value.
font
FontFamilyGets or sets the font (required).
fontSize
intGets or sets the fontSize.
fontHexColor
stringGets or sets the fontHexColor.
isBoldFont
boolGets or sets a value indicating whether the font style is bold.
isItalicFont
boolGets or sets a value indicating whether the font style is italic.
isUnderLineFont
boolGets or sets a value indicating whether the font style is underline.
lineHeight
intGets or sets the lineHeight.
dateFormat
stringGets or sets the dateFormat.
id
stringGets or sets the id.
timeFormat
stringGets or sets the timeFormat.
DateSignedField(string, int, Rectangle, bool, string, FontFamily, int, string, bool, bool, bool, int, string, string)
Initializes a new instance of the DateSignedField class.
[Obsolete("Name is deprecated, please use Id instead")]
public DateSignedField(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, string dateFormat = null, string timeFormat = null)
Parameters
name
stringGets or sets the name.
pageNumber
intGets or sets the page number.
bounds
RectangleGets or sets the bounds (required).
isRequired
boolGets or sets a value indicating whether the field is required.
value
stringGets or sets the value.
font
FontFamilyGets or sets the font (required).
fontSize
intGets or sets the fontSize.
fontHexColor
stringGets or sets the fontHexColor.
isBoldFont
boolGets or sets a value indicating whether the font style is bold.
isItalicFont
boolGets or sets a value indicating whether the font style is italic.
isUnderLineFont
boolGets or sets a value indicating whether the font style is underline.
lineHeight
intGets or sets the lineHeight.
dateFormat
stringGets or sets the dateFormat.
timeFormat
stringGets or sets the timeFormat.
Properties
DateFormat
Gets or sets the DateFormat and it's only applicable for DateSigned field.
Please use the pre-defiened DateFormat.
[DataMember(Name = "dateFormat", EmitDefaultValue = false)]
public string DateFormat { get; set; }
Property Value
TimeFormat
Gets or sets the TimeFormat and it's only applicable for DateSigned field.
[DataMember(Name = "timeFormat", EmitDefaultValue = false)]
public string TimeFormat { get; set; }
Property Value
Type
Gets the form field type.It is a read only property.
[DataMember(Name = "fieldType", EmitDefaultValue = true)]
public override FieldType Type { get; set; }