Class TextField
Represents an editable text input field in a PDF document.
Inherited Members
Namespace: IronPdf.Forms
Assembly: IronPdf.dll
Syntax
public class TextField : FormField
Constructors
TextField(Int32, String)
Declaration
public TextField(int id, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.String | name |
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. |