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
pageNumberintGets or sets the page number.
boundsRectangleGets or sets the bounds (required).
isRequiredboolGets or sets a value indicating whether the field is required.
valuestringGets or sets the value.
fontFontFamilyGets or sets the font (required).
fontSizeintGets or sets the fontSize.
fontHexColorstringGets or sets the fontHexColor.
isBoldFontboolGets or sets a value indicating whether the font style is bold.
isItalicFontboolGets or sets a value indicating whether the font style is italic.
isUnderLineFontboolGets or sets a value indicating whether the font style is underline.
lineHeightintGets or sets the lineHeight.
dateFormatstringGets or sets the dateFormat.
idstringGets or sets the id.
timeFormatstringGets 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
namestringGets or sets the name.
pageNumberintGets or sets the page number.
boundsRectangleGets or sets the bounds (required).
isRequiredboolGets or sets a value indicating whether the field is required.
valuestringGets or sets the value.
fontFontFamilyGets or sets the font (required).
fontSizeintGets or sets the fontSize.
fontHexColorstringGets or sets the fontHexColor.
isBoldFontboolGets or sets a value indicating whether the font style is bold.
isItalicFontboolGets or sets a value indicating whether the font style is italic.
isUnderLineFontboolGets or sets a value indicating whether the font style is underline.
lineHeightintGets or sets the lineHeight.
dateFormatstringGets or sets the dateFormat.
timeFormatstringGets 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; }