FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : Clone Method |
FarPoint.Web.Spread.StyleInfo info = new FarPoint.Web.Spread.StyleInfo(); FarPoint.Web.Spread.StyleInfo cinfo = new FarPoint.Web.Spread.StyleInfo(); FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 3); info.Border = bord; info.CellType = new FarPoint.Web.Spread.LabelCellType(); cinfo = (FarPoint.Web.Spread.StyleInfo) info.Clone(); FpSpread1.ActiveSheetView.SetStyleInfo(0, 0, cinfo);
Dim info As New FarPoint.Web.Spread.StyleInfo() Dim cinfo As New FarPoint.Web.Spread.StyleInfo() Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 3) info.Border = bord info.CellType = New FarPoint.Web.Spread.LabelCellType() cinfo = info.Clone() FpSpread1.ActiveSheetView.SetStyleInfo(0, 0, cinfo)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional