Spread for ASP.NET 9.0 Product Documentation
SetImage(SpreadImages,String) Method
Example 


Enumeration identifier that specifies which image in the interface
URL of the image
Sets the custom image in the specified part of the Spread component interface.
Syntax
'Declaration
 
Public Overloads Sub SetImage( _
   ByVal image As SpreadImages, _
   ByVal url As String _
) 
'Usage
 
Dim instance As FpSpread
Dim image As SpreadImages
Dim url As String
 
instance.SetImage(image, url)
public void SetImage( 
   SpreadImages image,
   string url
)

Parameters

image
Enumeration identifier that specifies which image in the interface
url
URL of the image
Example
This example uses the SetImage method.
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar;
FpSpread1.SetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator, "http://www.componentone.com/newimages/Products/Icons/wijmo_icon_16x16.png");
//string s;
//s = FpSpread1.GetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator);
//Response.Write(s);
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar
FpSpread1.SetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator, "http://www.componentone.com/newimages/Products/Icons/wijmo_icon_16x16.png")
'Dim s As String
's = FpSpread1.GetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator)
'Response.Write(s)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members
Overload List
Customizing the Graphical Interface

 

 


Copyright © GrapeCity, inc. All rights reserved.