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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SetImage Method : SetImage(SpreadImages,String) Method
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)
See Also

Reference

FpSpread Class
FpSpread Members
Overload List
Customizing the Graphical Interface