GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class : CanUserZoom Property |
'Declaration <System.ComponentModel.DefaultValueAttribute()> <System.ComponentModel.CategoryAttribute("Spread Workbook")> Public Property CanUserZoom As System.Boolean
'Usage Dim instance As GcSpreadSheet Dim value As System.Boolean instance.CanUserZoom = value value = instance.CanUserZoom
[System.ComponentModel.DefaultValue()] [System.ComponentModel.Category("Spread Workbook")] public System.bool CanUserZoom {get; set;}
gcSpreadSheet1.CanUserZoom = true; gcSpreadSheet1.Invalidate(); private void button1_Click(object sender, RoutedEventArgs e) { gcSpreadSheet1.Sheets[0].ZoomFactor = 2; gcSpreadSheet1.Invalidate(); }
GcSpreadSheet1.CanUserZoom = True GcSpreadSheet1.Invalidate() Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click GcSpreadSheet1.Sheets(0).ZoomFactor = 2 GcSpreadSheet1.Invalidate() End Sub
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6