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


image
Integer identifier to specify which image

Glossary Item Box

Gets the image in the component.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetImage( _
   ByVal image As SpreadImages _
) As String
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim image As SpreadImages
Dim value As String
 
value = instance.GetImage(image)
C# 
public string GetImage( 
   SpreadImages image
)

Parameters

image
Integer identifier to specify which image

Example

This example uses the GetImage 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.