Spread for ASP.NET 7.0 Product Documentation
SetImage(SpreadImages,String) Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SetImage Method : SetImage(SpreadImages,String) Method


image
Enumeration identifier that specifies which image in the interface
url
URL of the image

Glossary Item Box

Sets the custom image in the specified part of the Spread component interface.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetImage( _
   ByVal image As SpreadImages, _
   ByVal url As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim image As SpreadImages
Dim url As String
 
instance.SetImage(image, url)
C# 
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.
C#Copy Code
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);
VB.NETCopy Code
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.