ActiveReports3 Request technical support
Add(String,String) Method
See Also 


name
Specifies the name of the new Style object.
nameOfParent
Specifies the parent Style whose properties will be inherited by the new Style.
Adds a new Style object to the collection and sets its parent style to the specified parent Style.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Add( _
   ByVal name As String, _
   ByVal nameOfParent As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As StyleSheet
Dim name As String
Dim nameOfParent As String
 
instance.Add(name, nameOfParent)
C# 
public void Add( 
   string name,
   string nameOfParent
)

Parameters

name
Specifies the name of the new Style object.
nameOfParent
Specifies the parent Style whose properties will be inherited by the new Style.

Remarks

Styles are cascaded. Any properties not specified in the child Style are inherited from the parent Style.

See Also