Spread Windows Forms 12.0 Product Documentation
SliderCellType Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > SliderCellType Class > SliderCellType Constructor : SliderCellType Constructor()
Creates a new slider cell with default settings.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New SliderCellType()
public SliderCellType()
Example
This example creates a cell of this type, sets a property of this cell type, and assigns this cell type to a cell.
FarPoint.Win.Spread.CellType.SliderCellType slider = new FarPoint.Win.Spread.CellType.SliderCellType();
slider.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\\images\\fplogo.jpg"));
fpSpread1.ActiveSheet.Cells[0, 0].CellType = slider;
Dim slider As New FarPoint.Win.Spread.CellType.SliderCellType()
slider.BackgroundImage = New FarPoint.Win.Picture(Image.FromFile("..\images\fplogo.jpg"))
FpSpread1.ActiveSheet.Cells(0, 0).CellType = slider
See Also

Reference

SliderCellType Class
SliderCellType Members
Overload List