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




In This Topic
    DefaultValues Property
    In This Topic
    Gets or sets the default values of the field.
    Syntax
    'Declaration
     
    Public Overridable Property DefaultValues As String()
    'Usage
     
    Dim instance As Field
    Dim value() As String
     
    instance.DefaultValues = value
     
    value = instance.DefaultValues
    public virtual string[] DefaultValues {get; set;}
    public: __property virtual string*[]* get_DefaultValues();
    public: __property virtual void set_DefaultValues( 
       string*[][]* value
    );
    public:
    virtual property array<String^>^ DefaultValues {
       array<String^>^ get();
       void set (    array<String^>^ value);
    }

    Property Value

    The default values of the field. It can evaluate to a String or to a String array.
    Exceptions
    ExceptionDescription
    When setting this property, some fields throw exceptions. An example is when attempting to enter a value that does not exist as an option in a RadioGroup.
    See Also