ImageGear .NET v25.0 - Updated
Field Property




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > WidgetAnnotation Class : Field Property
Gets or sets the field associated with widget.
Syntax
'Declaration
 
Public Property Field As Field
'Usage
 
Dim instance As WidgetAnnotation
Dim value As Field
 
instance.Field = value
 
value = instance.Field
public Field Field {get; set;}
public: __property Field* get_Field();
public: __property void set_Field( 
   Field* value
);
public:
property Field^ Field {
   Field^ get();
   void set (    Field^ value);
}

Property Value

The object of ImageGear.Formats.PDF.Forms.Field type. May be null.
Exceptions
ExceptionDescription
If the type of new field does not correspond with widget type.
If the new field does not belong to the same document as the widget.
Remarks
The value of this property may be null if the widget is not associated with field.
The setting of this property to null causes the detaching of this widget from the associated field.
The setting of this property to other field causes the detaching of widget from current field and attaching to the new field.
See Also

Reference

WidgetAnnotation Class
WidgetAnnotation Members