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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also