[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SmartPrintRulesCollection.Add

Add Method

Add(object)

Adds a rule (SmartPrintRule object) to the collection.

Declaration
public int Add(object value)
Public Function Add(value As Object) As Integer
Parameters
Type Name Description
object value

Rule (SmartPrintRule object) to add

Returns
Type Description
int

The collection index at which the value has been added.

Implements
Exceptions
Type Condition
ArgumentException

Specified object is not valid; must be a SmartPrintRule object

Add(SmartPrintRule)

Adds a rule (SmartPrintRule object) to the collection.

Declaration
public int Add(SmartPrintRule value)
Public Function Add(value As SmartPrintRule) As Integer
Parameters
Type Name Description
SmartPrintRule value

Rule (SmartPrintRule object) to add

Returns
Type Description
int

The collection index at which the value has been added.

Exceptions
Type Condition
ArgumentException

Specified object is not valid; must be a SmartPrintRule object