Class FormField
Represents the attributes of the Form Field.
Inherited Members
Namespace: Syncfusion.Blazor.SfPdfViewer
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class FormField
Constructors
FormField()
Declaration
public FormField()
Properties
FontName
specifies the fontName of the signature.
Declaration
[JsonPropertyName("fontName")]
public string FontName { get; set; }
Property Value
| Type |
|---|
| string |
Id
Gets the id of the form field.
Declaration
[JsonPropertyName("id")]
public string Id { get; }
Property Value
| Type |
|---|
| string |
IsChecked
Gets or sets the state of the checkbox.
Declaration
[JsonPropertyName("isChecked")]
public bool IsChecked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | true if the checkbox is checked; otherwise, false. The default value is false. |
Remarks
This property represents the checked or unchecked state of the checkbox.
IsReadOnly
If it is set as true, can't edit the form field in the PDF document. By default it is false.
Declaration
[JsonPropertyName("isReadOnly")]
public bool IsReadOnly { get; set; }
Property Value
| Type |
|---|
| bool |
IsSelected
Gets or sets the selection state of the radio button.
Declaration
[JsonPropertyName("isSelected")]
public bool IsSelected { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | true if the radio button is selected; otherwise, false. The default value is false. |
Remarks
This property represents whether the radio button is selected or not.
Name
Gets the name of the form field.
Declaration
[JsonPropertyName("name")]
public string Name { get; }
Property Value
| Type |
|---|
| string |
SignatureType
specifies the type of the signature.
Declaration
[JsonPropertyName("signatureType")]
public List<SignatureType> SignatureType { get; set; }
Property Value
| Type |
|---|
| List<SignatureType> |
Type
Gets the type of the form field.
Declaration
[JsonPropertyName("type")]
public FormFieldType Type { get; }
Property Value
| Type |
|---|
| FormFieldType |
Value
Gets or sets the value of the form field.
Declaration
[JsonPropertyName("value")]
public string Value { get; set; }
Property Value
| Type |
|---|
| string |