'Usage Dim instance As SpreadView Dim id As Integer Dim value As Image value = instance.GetImage(id)
Parameters
- id
- Unique identifier that specifies which part of the interface in which the image is used
'Usage Dim instance As SpreadView Dim id As Integer Dim value As Image value = instance.GetImage(id)
fpSpread1.Sheets[0].ShowRowSelector = true; FarPoint.Win.Spread.SpreadView wrkbk = fpSpread1.GetRootWorkbook(); wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImageDisabled, Image.FromFile("c:\\2.jpg")); wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImage, Image.FromFile("c:\\1.jpg")); Image indicator; indicator = wrkbk.GetImage(14); listBox1.Items.Add(indicator.ToString());
FpSpread1.Sheets(0).ShowRowSelector = True Dim wrkbk As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook() wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImageDisabled, Image.FromFile("c:\2.jpg")) wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImage, Image.FromFile("C:\icon1.ico")) Dim indicator As Image indicator = wrkbk.GetImage(14) ListBox1.Items.Add(indicator.ToString())