FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > DefaultSheetStyleModel クラス : Move メソッド |
'Declaration Public Overridable Sub Move( _ ByVal fromRow As Integer, _ ByVal fromColumn As Integer, _ ByVal toRow As Integer, _ ByVal toColumn As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer _ )
FarPoint.Win.Spread.Model.DefaultSheetStyleModel defstyleModel = new FarPoint.Win.Spread.Model.DefaultSheetStyleModel(); FarPoint.Win.Spread.StyleInfo sInfo = new FarPoint.Win.Spread.StyleInfo(); defstyleModel = (FarPoint.Win.Spread.Model.DefaultSheetStyleModel)fpSpread1.ActiveSheet.Models.Style; sInfo.BackColor = Color.LightBlue; defstyleModel.SetDirectInfo(0, 0, sInfo); defstyleModel.Move(0, 0, 3, 0 , 1, 1);
Dim defstyleModel As New FarPoint.Win.Spread.Model.DefaultSheetStyleModel() Dim sInfo As New FarPoint.Win.Spread.StyleInfo() defstyleModel = FpSpread1.ActiveSheet.Models.Style sInfo.BackColor = Color.LightBlue defstyleModel.SetDirectInfo(0, 0, sInfo) defstyleModel.Move(0, 0, 3, 0, 1, 1)