Spread Windows Forms 15.0
Spread Windows Forms 15.0 Product Documentation / Developer's Guide / Customizing the Sheet Appearance / Customizing the Overall Component Appearance / Saving and Loading a Skin / Loading a Skin
In This Topic
    Loading a Skin
    In This Topic

    You can load a skin from a file or a stream.

    Use the Load methods in the SheetSkin or SpreadSkin class.

    Using Code

    Use the Load(String) method in the SheetSkin class (or SpreadSkin class) for loading from a file; use the Load(Stream) method for loading from a stream.


    This example code loads a skin from a file.

    Copy Code
    // load a sheet skin
    // load a spread Skin
    // FarPoint.Win.Spread.SpreadSkin.Load("C:\\farpoint.skn").Apply(fpSpread1);
    Copy Code
    ' load a sheet skin
    ' load a Spread Skin
    See Also