Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SmartPrintRulesCollection Class / Clear Method
Example


In This Topic
    Clear Method (SmartPrintRulesCollection)
    In This Topic
    Removes all rules (SmartPrintRule objects) from the collection.
    Syntax
    'Declaration
     
    Public Sub Clear() 
    'Usage
     
    Dim instance As SmartPrintRulesCollection
     
    instance.Clear()
    public void Clear()
    Example
    This example clears the rules in the collection.
    FarPoint.Win.Spread.SmartPrintRulesCollection rule = new FarPoint.Win.Spread.SmartPrintRulesCollection();
    rule.Clear();
    Dim rule As New FarPoint.Win.Spread.SmartPrintRulesCollection
    rule.Clear()
    See Also