Class TextField
Represents an editable text input field in a PDF document.
Namespace: IronPdf.Forms
Assembly: IronPdf.dll
Syntax
public class TextField : FormField
Constructors
TextField()
Declaration
public TextField()
Properties
Value
Gets or sets the text in the text-box.
Declaration
public override string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | Text value as a string. |
Overrides
Methods
SetFont(FontTypes, Double)
Sets the font to the text field of pdf form.
Declaration
public override void SetFont(FontTypes fontType, double fontSize = 11)
Parameters
Type | Name | Description |
---|---|---|
FontTypes | fontType | Type of the font. |
System.Double | fontSize | Size of the font. |