ImageGear .NET - Updated
RemoveWidget Method




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Field Class : RemoveWidget Method
The widget to be removed from the field.
Removes a widgets from the field. The widget remains valid and can be re-attached to other fields

-

Note that the widget is not disposed, and can be reused after removing. The user must called ImageGear.Formats.PDF.WidgetAnnotation.Dispose when done.
Syntax
'Declaration
 
Public Sub RemoveWidget( _
   ByVal widget As WidgetAnnotation _
) 
'Usage
 
Dim instance As Field
Dim widget As WidgetAnnotation
 
instance.RemoveWidget(widget)
public void RemoveWidget( 
   WidgetAnnotation widget
)
public: void RemoveWidget( 
   WidgetAnnotation* widget
) 
public:
void RemoveWidget( 
   WidgetAnnotation^ widget
) 

Parameters

widget
The widget to be removed from the field.
Exceptions
ExceptionDescription
Thrown when a null widget parameter is passed in.
Remarks
The widget's memory is not released. Call Dispose on the widget if it is no longer needed.
See Also

Reference

Field Class
Field Members