FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > ISheetStyleModel Interface : GetCompositeInfo Method |
'Declaration Function GetCompositeInfo( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal altIndex As Integer, _ ByVal destInfo As StyleInfo _ ) As StyleInfo
FarPoint.Web.Spread.Model.ISheetStyleModel iss; iss = (FarPoint.Web.Spread.Model.ISheetStyleModel)FpSpread1.ActiveSheetView.StyleModel; iss.AltRowCount = 2; Dim si As New FarPoint.Web.Spread.StyleInfo; si.BackColor = Color.Yellow; iss.SetDirectAltRowInfo(1, si); FarPoint.Web.Spread.StyleInfo ret = iss.GetCompositeInfo(0, 0, 0, null); string msg = "The background color of the style is " + si.BackColor.ToString(); Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Dim iss As FarPoint.Web.Spread.Model.ISheetStyleModel iss = FpSpread1.ActiveSheetView.StyleModel iss.AltRowCount = 2 Dim si As New FarPoint.Web.Spread.StyleInfo si.BackColor = Color.Yellow iss.SetDirectAltRowInfo(1, si) Dim ret As FarPoint.Web.Spread.StyleInfo = iss.GetCompositeInfo(0, 0, 0, Nothing) Dim msg As String = "The background color of the style is " + si.BackColor.ToString() Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6