Gets or sets the image to display in the button cell.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ImageUrl As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ButtonCellType
Dim value As String
instance.ImageUrl = value
value = instance.ImageUrl |
C# | |
---|
public string ImageUrl {get; set;} |
Property Value
String containing the URL for the image
Remarks
Example
This example sets the location of the image to display in the button cell.
C# | Copy Code |
---|
FarPoint.Web.Spread.ButtonCellType btn = New FarPoint.Web.Spread.ButtonCellType();
FarPoint.Web.Spread.StyleInfo style = New FarPoint.Web.Spread.StyleInfo();
btn.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton;
btn.ImageUrl = "D:\\img\btns\\edit-e.jpg";
style.CellType = btn;
FpSpread1.Sheets[0].SetStyleInfo(0, 0, style);
|
Visual Basic | Copy Code |
---|
Dim btn As New FarPoint.Web.Spread.ButtonCellType()
Dim style As New FarPoint.Web.Spread.StyleInfo()
btn.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton
btn.ImageUrl = "D:\img\btns\edit-e.jpg"
style.CellType = btn
FpSpread1.Sheets(0).SetStyleInfo(0, 0, style)
|
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also