| 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.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic bool removeWidget(
int index
)
Public Function removeWidget (
index As Integer
) As Boolean
public:
bool removeWidget(
int index
)
member removeWidget :
index : int -> bool
Parameters
- index
- Type: SystemInt32
0-based index of the widget to remove.
Return Value
Type:
Booleantrue if successful.
See Also