Search Results for

    Show / Hide Table of Contents

    Class TextField

    Represents an editable text input field in a PDF document.

    Inheritance
    System.Object
    PdfClientAccessor
    FormField
    TextField
    Implements
    IFormField
    Inherited Members
    FormField.ToString()
    FormField.PdfDocumentId
    FormField.AnnotationIndex
    FormField.FullName
    FormField.Name
    FormField.PageIndex
    FormField.ReadOnly
    FormField.Type
    FormField.Value
    FormField.Width
    FormField.Height
    FormField.X
    FormField.Y
    Namespace: IronPdf.Forms
    Assembly: IronPdf.dll
    Syntax
    public class TextField : FormField, IFormField

    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
    IronSoftware.Drawing.FontTypes fontType

    Type of the font.

    System.Double fontSize

    Size of the font.

    Overrides
    FormField.SetFont(FontTypes, Double)

    Implements

    IFormField

    Inherited members

    ToString()
    PdfDocumentId
    AnnotationIndex
    FullName
    Name
    PageIndex
    ReadOnly
    Type
    Value
    Width
    Height
    X
    Y

    See Also

    FormField
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.