FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : SaveViewState Method |
'Declaration Public Overridable Function SaveViewState() As Object
public virtual object SaveViewState()
FarPoint.Web.Spread.SheetView sv; string s; s = "D:\\nums.txt"; sv = FpSpread1.ActiveSheetView; sv.LoadTextFile(s, true); object o; o = sv.SaveViewState(); FpSpread2.ActiveSheetView.LoadViewState(o);
Dim sv As FarPoint.Web.Spread.SheetView Dim s As String s = "D:\nums.txt" sv = FpSpread1.ActiveSheetView sv.LoadTextFile(s, True) Dim o As Object o = sv.SaveViewState() FpSpread2.ActiveSheetView.LoadViewState(o)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
SheetView Class
SheetView Members
LoadViewState Method
IsTrackingViewState Property