FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetAxisModel Class : GetResizable Method |
'Usage Dim instance As DefaultSheetAxisModel Dim index As Integer Dim value As Boolean value = instance.GetResizable(index)
Private Sub Page_Load(ByVal sender As System.Object,ByVal e As System.EventArgs)Handles MyBase.Load Dim isheet As FarPoint.Web.Spread.Model.DefaultSheetAxisModel=FpSpread1.ActiveSheetView.ColumnAxisModel isheet.SetResizable(0,False) isheet.SetSize(0,240) isheet.SetSortIndicator(0,FarPoint.Web.Spread.Model.SortIndicator.Descending) isheet.SetTag(0,"Test") isheet.SetVisible(1,False) Dim i,i1,i2,i3 As Integer Dim b,b1,b2,b3 As Boolean Dim Str As Object Dim si As FarPoint.Web.Spread.Model.SortIndicator b=isheet.GetResizable(0) ListBox1.Items.Add(b.ToString()) b1=isheet.GetVisible(1) ListBox1.Items.Add(b1.ToString()) i=isheet.GetSize(0) ListBox1.Items.Add(i.ToString()) i1=isheet.GetHashCode() ListBox1.Items.Add(i1.ToString()) Str=isheet.GetTag(0) ListBox1.Items.Add(Str.ToString()) si=isheet.GetSortIndicator(0) ListBox1.Items.Add(si.ToString()) b2=isheet.IsEmpty() ListBox1.Items.Add(b2.ToString()) b3=isheet.IsPropertySet(0,FarPoint.Web.Spread.Model.SheetAxisProperty.Size) ListBox1.Items.Add(b3.ToString()) End Sub
private void Page_Load(object sender,System.EventArgs e) { if(this.IsPostBack)return; FarPoint.Web.Spread.Model.DefaultSheetAxisModel isheet=null; isheet=(FarPoint.Web.Spread.Model.DefaultSheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel; isheet.SetResizable(0,false); isheet.SetSize(0,240); isheet.SetSortIndicator(0,FarPoint.Web.Spread.Model.SortIndicator.Descending); isheet.SetTag(0,"Test"); isheet.SetVisible(1,false); int i,i1; bool b,b1,b2,b3; object str; FarPoint.Web.Spread.Model.SortIndicator si; b=isheet.GetResizable(0); ListBox1.Items.Add(b.ToString()); b1=isheet.GetVisible(1); ListBox1.Items.Add(b1.ToString()); i=isheet.GetSize(0); ListBox1.Items.Add(i.ToString()); i1=isheet.GetHashCode(); ListBox1.Items.Add(i1.ToString()); str=isheet.GetTag(0); ListBox1.Items.Add(str.ToString()); si=isheet.GetSortIndicator(0); ListBox1.Items.Add(si.ToString()); b2=isheet.IsEmpty(); ListBox1.Items.Add(b2.ToString()); b3=isheet.IsPropertySet(0,FarPoint.Web.Spread.Model.SheetAxisProperty.Size); ListBox1.Items.Add(b3.ToString()); }
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional