ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Field Class / Font Property




In This Topic
    Font Property (Field)
    In This Topic
    Gets or sets the font that is used to display the text in this field.
    Syntax
    'Declaration
     
    Public Property Font As ImGearPDEFont
    'Usage
     
    Dim instance As Field
    Dim value As ImGearPDEFont
     
    instance.Font = value
     
    value = instance.Font
    public ImGearPDEFont Font {get; set;}
    public: __property ImGearPDEFont* get_Font();
    public: __property void set_Font( 
       ImGearPDEFont* value
    );
    public:
    property ImGearPDEFont^ Font {
       ImGearPDEFont^ get();
       void set (    ImGearPDEFont^ value);
    }

    Property Value

    The PDE font object.
    Exceptions
    ExceptionDescription
    Thrown when an error occurs during method execution. Additional information about the error may be found in the message of the exception. Commonly occurs when set to null.
    Remarks
    The Setter will set the value only for fields with text: TextField, ListBox, ComboBox, CheckBox and PushButton. For RadioGroup and SignatureField an exception will occur.
    See Also