Composes a style using the default styles and a specified StyleInfo object.
Syntax
Parameters
- o
- Style (NamedStyle object, StyleInfo object, or string name)
- destInfo
- Destination for the composed StyleInfo object, or creates a new StyleInfo object if null
Return Value
StyleInfo object containing the style information
Example
C# | Copy Code |
---|
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
FarPoint.Web.Spread.StyleInfo s = new FarPoint.Web.Spread.StyleInfo();
s.BackColor = Color.Yellow;
dsc.Compose(dsc.DataAreaDefault, s);
|
Visual Basic | Copy Code |
---|
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
Dim s As New FarPoint.Web.Spread.StyleInfo
s.BackColor = Color.Yellow
dsc.Compose(dsc.DataAreaDefault, s) |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also