Visual Basic (Declaration) | |
---|---|
Public Sub SetInsertSheetImage( _ ByVal newSheetImage As Image _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpSpread Dim newSheetImage As Image instance.SetInsertSheetImage(newSheetImage) |
C# | |
---|---|
public void SetInsertSheetImage( Image newSheetImage ) |
Parameters
- newSheetImage
- Image to display for the insert sheet tab
This example adds an image to the new sheet tab.
C# | Copy Code |
---|---|
fpSpread1.Sheets.Count = 2;
fpSpread1.SetInsertSheetImage(System.Drawing.Image.FromFile("C:\\SpreadWin\\cut.png")); |
Visual Basic | Copy Code |
---|---|
FpSpread1.Sheets.Count = 2
FpSpread1.SetInsertSheetImage(System.Drawing.Image.FromFile("C:\SpreadWin\cut.png")) |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8