20金币
最佳答案隐藏工具栏按钮
viewer1.Toolbar.ToolStrip.Items["tsbZoomIn"].Visible = false;
viewer1.Toolbar.ToolStrip.Items["tsbZoomOut"].Visible = false;
viewer1.Toolbar.ToolStrip.Items["tstbCurrentZoom"].Visible = false;
禁止缩放
使用viewer的ZoomChanged事件
private void viewer1_ZoomChanged(object sender, GrapeCity.ActiveReports.Viewer.Win.ZoomChangedEventArgs e)
{
...
| |
| |
| |
| |
| |
| |
| |
| |
| |