FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ButtonCellType Class : ImageUrl Property |
'Declaration Public Property ImageUrl As String
'Usage Dim instance As ButtonCellType Dim value As String instance.ImageUrl = value value = instance.ImageUrl
public string ImageUrl {get; set;}
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);
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)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional