ImageGear PDF v24.14 - Updated
Font Property (Field)




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Field Class : Font Property
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

Reference

Field Class
Field Members