Search Results for

    Show / Hide Table of Contents

    Interface IFormField

    Form field object with embedded annotation

    Inherited Members
    IFormFieldObject.Annotations
    IFormFieldObject.Choices
    IFormFieldObject.DefaultAppearance
    IFormFieldObject.FormFlags
    IFormFieldObject.FormType
    IFormFieldObject.FullName
    IFormFieldObject.MaxLength
    IFormFieldObject.Name
    IFormFieldObject.ObjType
    IFormFieldObject.ReadOnly
    IFormFieldObject.RichText
    IFormFieldObject.Type
    IFormFieldObject.Value
    IFormFieldAnnotationObject.X
    IFormFieldAnnotationObject.Y
    IFormFieldAnnotationObject.Width
    IFormFieldAnnotationObject.Height
    IPdfDocumentObject.Client
    Namespace: IronSoftware.Forms
    Assembly: IronPdf.dll
    Syntax
    public interface IFormField : IFormFieldObject, IFormFieldAnnotationObject, IPdfDocumentObject, IDocumentObject

    Methods

    SetDefaultFont(String, Int32, Color)

    Set the default font to be used by this form field and any associated annotations

    Declaration
    void SetDefaultFont(string FontName, int FontSize, Color FontColor)
    Parameters
    Type Name Description
    System.String FontName

    Font name with weight. Example "AdobeThai-Bold"

    System.Int32 FontSize

    Font size (whole integer such as 12 or 24)

    System.Drawing.Color FontColor

    Font color (only R, G, and B are used)

    Remarks

    This option may be overwritten by fonts applied to specific form field annotations

    Inherited members

    Annotations
    Choices
    DefaultAppearance
    FormFlags
    FormType
    FullName
    MaxLength
    Name
    ObjType
    ReadOnly
    RichText
    Type
    Value
    X
    Y
    Width
    Height
    Client
    ☀
    ☾
    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.