[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheetView.FitSelection

FitSelection Property

FitSelection

获取或设置是否将缩放设置为恰好容纳选定区域。与 Microsoft Excel 应用程序不同,此选项不会修改 Zoom 属性的值。 此选项仅支持 Chart 类型的工作表。

Declaration
bool FitSelection { get; set; }
Exceptions
Type Condition
NotSupportedException

当在不支持的工作表类型上调用此方法时抛出。