Spread Windows Forms 8.0 Product Documentation
SetInsertSheetImage Method
Example 


Image to display for the insert sheet tab
Sets the custom image displayed on the insert sheet tab.
Syntax
'Declaration
 
Public Sub SetInsertSheetImage( _
   ByVal newSheetImage As Image _
) 
'Usage
 
Dim instance As FpSpread
Dim newSheetImage As Image
 
instance.SetInsertSheetImage(newSheetImage)
public void SetInsertSheetImage( 
   Image newSheetImage
)

Parameters

newSheetImage
Image to display for the insert sheet tab
Example
This example adds an image to the insert sheet tab.
fpSpread1.Sheets.Count = 2;
fpSpread1.SetInsertSheetImage(System.Drawing.Image.FromFile("C:\\SpreadWin\\cut.png"));
FpSpread1.Sheets.Count = 2
FpSpread1.SetInsertSheetImage(System.Drawing.Image.FromFile("C:\SpreadWin\cut.png"))
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.