We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Excel Zooming

Hello,
I am creating an Excel template from scratch. One of the client's requirment is to open the worksheet at a specified zoom level. The default Zoom is 100% and the user can change to whatever they want, but if I want to open the worksheet at 50% zoom level, how do I do it.

Thank you for your assistance

2 Replies

GA Giancarlo Aguilera January 27, 2007 01:28 AM UTC

worksheet.Zoom = 50;

>Hello,
I am creating an Excel template from scratch. One of the client's requirment is to open the worksheet at a specified zoom level. The default Zoom is 100% and the user can change to whatever they want, but if I want to open the worksheet at 50% zoom level, how do I do it.

Thank you for your assistance


MW Melba Winshia Syncfusion Team January 29, 2007 10:31 AM UTC

Hi,

You can use Zoom property to set the zoom factor of a worksheet. Please refer the following code snippet which illustrates the above:

[C#]

//Setting the zoom factor
sheet.Zoom = 50;

[VB.NET]

'Setting the zoom factor
sheet.Zoom = 50

Here is the sample for your reference:

Zoom.zip

Please take a look and let me know if you have any other questions.

Best Regards,
Melba

Loader.
Live Chat Icon For mobile
Up arrow icon