Parameters
- spread
- Spread component
This method initializes an instance of the SheetSkin class and initializes it with the property values in the active sheet of the specified Spread component.
This example creates a new skin and applies it to the component.
C# | Copy Code |
---|---|
FpSpread1.ActiveSheetView.GridLineColor = Color.Red;
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle.BackColor = Color.Red;
Dim FarPoint.Web.Spread.SheetSkin = new FarPoint.Web.Spread.SheetSkin(FpSpread1);
skin.Apply(FpSpread2);
|
Visual Basic | Copy Code |
---|---|
FpSpread1.ActiveSheetView.GridLineColor = Color.Red FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle.BackColor = Color.Red Dim skin As New FarPoint.Web.Spread.SheetSkin(FpSpread1) skin.Apply(FpSpread2) |
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