Spread Windows Forms 11.0 Product Documentation
SetInsertSheetImage Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : SetInsertSheetImage Method
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"))
See Also

Reference

FpSpread Class
FpSpread Members