Click or drag to resize
SignDocFieldremoveWidget Method
Remove a widget from the field. This function fails when there is only one widget. That is, a field always has at least one widget. If the currently selected widget is removed, the following rules apply: When removing the last widget (the one with index getWidgetCount()-1), the predecessor of the removed widget will be selected. Otherwise, the index of the selected widget won't change, ie, the successor of the removed widget will be selected. If the widget to be removed is not selected, the currently selected widget will remain selected. All widgets having an index greater than aIndex will have their index decremented by one.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public bool removeWidget(
	int index
)

Parameters

index
Type: SystemInt32
0-based index of the widget to remove.

Return Value

Type: Boolean
true if successful.
See Also