SignatureLineCollection class
Contains all SignatureLine objects in the current view, which represent the Signature Line controls in that view.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.
To access the SignatureLineCollection for the current view, use the SignatureLines property of the View class.
The order of the SignatureLine objects in the collection corresponds to the value of the Tab index property assigned to each control when you add it to the view. To specify that value, open the form template in the InfoPath designer, right-click the control, click Signature Line Properties, click Advanced, and then set the Tab index property of the control.
Important |
|---|
When a form template has more than one view and other views contain Signature Line controls, be aware that looping through an instance of the SignatureLineCollection accesses only the set of SignatureLine objects that represent the Signature Line controls in the current view. To access the SignatureLine objects for the Signature Line controls in other views, you must use the SwitchView(String) method to switch to a different view before looping through that view's SignatureLineCollection. |
Important