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. |
id | |
System. |
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 |
---|---|---|
Font |
fontType | Type of the font. |
System. |
fontSize | Size of the font. |