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




In This Topic
    FontSize Property (Field)
    In This Topic
    Gets or sets the font size for the text in this field.
    Syntax
    'Declaration
     
    Public Property FontSize As Single
    'Usage
     
    Dim instance As Field
    Dim value As Single
     
    instance.FontSize = value
     
    value = instance.FontSize
    public float FontSize {get; set;}
    public: __property float get_FontSize();
    public: __property void set_FontSize( 
       float value
    );
    public:
    property float FontSize {
       float get();
       void set (    float value);
    }

    Property Value

    The size of the font.
    Exceptions
    ExceptionDescription
    Thrown if the size to be set is negative.
    See Also