ImageGear .NET - Updated
FontName Property (Field)




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Field Class : FontName Property
Gets or sets the font that is used to display the text in this field.
Syntax
'Declaration
 
Public Property FontName As String
'Usage
 
Dim instance As Field
Dim value As String
 
instance.FontName = value
 
value = instance.FontName
public string FontName {get; set;}
public: __property string* get_FontName();
public: __property void set_FontName( 
   string* value
);
public:
property String^ FontName {
   String^ get();
   void set (    String^ value);
}

Property Value

The PostScript name of the font.
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, an empty string, or to a nonexistent font.
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