Search Results for

    Show / Hide Table of Contents

    Class PdfForm

    PdfForm class represents a collection of the user-editable form fields within a PDD document.

    Inheritance
    System.Object
    PdfForm
    Namespace: IronPdf.Forms
    Assembly: IronPdf.dll
    Syntax
    public class PdfForm : Object

    Fields

    Fields

    The editable fields within this PDF.

    Declaration
    public readonly FormField[] Fields
    Field Value
    Type Description
    FormField[]
    See Also
    Form

    Properties

    FieldNames

    Returns the field name of every editable data field in the PDF.

    Declaration
    public string[] FieldNames { get; }
    Property Value
    Type Description
    System.String[]

    The field names as an array of strings.

    Methods

    GetFieldByName(String)

    Returns a FormField by its name. This method is fault tolerant and will attempt to match case mistakes and partial field names.

    Declaration
    public FormField GetFieldByName(string FieldName)
    Parameters
    Type Name Description
    System.String FieldName

    The name of the field to be edited. This is analogous to the HTML input 'name' attribute when creating a PDF with forms from HTML using IronPDF.

    Returns
    Type Description
    FormField

    A FormField object

    RenameField(String, String)

    Rename a FormField

    Declaration
    public void RenameField(string CurrentFieldName, string NewFieldName)
    Parameters
    Type Name Description
    System.String CurrentFieldName

    Current field name

    System.String NewFieldName

    New field name

    ☀
    ☾
    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.