ImageGear PDF v25.1 - Updated
DefaultValue Property (CheckBox)




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > CheckBox Class : DefaultValue Property
Gets or sets the default value of the field.
Syntax
'Declaration
 
Public Property DefaultValue As String
'Usage
 
Dim instance As CheckBox
Dim value As String
 
instance.DefaultValue = value
 
value = instance.DefaultValue
public string DefaultValue {get; set;}
public: __property string* get_DefaultValue();
public: __property void set_DefaultValue( 
   string* value
);
public:
property String^ DefaultValue {
   String^ get();
   void set (    String^ value);
}

Property Value

Either "Off" or the export value of one of the options.
Exceptions
ExceptionDescription
When attempting to enter a value that does not exist as an option in the field.
See Also

Reference

CheckBox Class
CheckBox Members