Using the following code I can remove a signature.
Dim xnDoc As XPathNavigator = MainDataSource.CreateNavigator()
If (Me.Signed) Then 'unsign it
Dim xSignedSection As XPathNavigator = xnDoc.SelectSingleNode("my:meineFelder/my:signaturen1/my:signaturen2", Me.NamespaceManager)
If (xSignedSection.HasChildren) Then
xSignedSection.MoveToChild(XPathNodeType.Element)
xSignedSection.DeleteSelf()
Me.CurrentView.ForceUpdate()
End If
End If
But after this procedure the link "click here to...." under the regarding group disappears.
ForceUpdate() shows no effect.
If open the menu 'Tools / Digital Signatures' or 'File / Save' the link appears in the form again.
Does anybody has a clue?