Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SmartPrintRulesCollection Class / Add Method / Add(Object) Method
Rule (SmartPrintRule object) to add
Example


In This Topic
    Add(Object) Method
    In This Topic
    Adds a rule (SmartPrintRule object) to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal value As Object _
    ) As Integer
    'Usage
     
    
    Dim instance As SmartPrintRulesCollection
    Dim value As Object
    Dim value As Integer
     
    value = instance.Add(value)
    public int Add( 
       object value
    )

    Parameters

    value
    Rule (SmartPrintRule object) to add
    Exceptions
    ExceptionDescription
    Specified object is not valid; must be a SmartPrintRule object
    Example
    This example adds rules to the collection.
    See Also