Class FormField
Generic base class from which all PDF Form fields are derived.
Namespace: IronPdf.Forms
Assembly: IronPdf.dll
Syntax
public class FormField : Object
Fields
pdfiumDocumentId
Declaration
protected int pdfiumDocumentId
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Name
Gets the ID name of this field.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name as a string. |
See Also
ReadOnly
Gets or sets the permissions for users to fill-in current form field.
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Value
Gets the value of the editable PDF field.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value. |
Methods
SetFont(FontTypes, Double)
Sets the font to the text field of pdf form.
Declaration
public virtual void SetFont(FontTypes fontType, double fontSize = 11)
Parameters
Type | Name | Description |
---|---|---|
FontTypes | fontType | Type of the font. |
System.Double | fontSize | Size of the font. |
ToString()
Returns the value of this field.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The value of this field. |