[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.Zoom

Zoom Property

Zoom

Gets or sets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing.

This property is used when the worksheet is scaled as a percentage. If IsPercentScale returns false, scaling is controlled by FitToPagesWide and FitToPagesTall instead.

Declaration
int Zoom { get; set; }
Property Zoom As Integer
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.IsPercentScale = true;
pageSetup.Zoom = 125;
int zoom = pageSetup.Zoom;