Free Support Forum - aspose.com

Code to set property : Page Adjust to (%normal size)

Hi Team,

Could you pls let me know the java code to set the property as shown in the screenshot attached-Page Adjust to 90 %normal size. Its an urgent requirement, thanks in advance for your response.

Regards
Yasaswini Challa

image.jpg (133.7 KB)

@YaSaSwini,

Thanks for the screenshot.

Please try the following line of code for your requirements:
e.g
Sample code:

worksheet.getPageSetup().setZoom(90);

Hope, this helps a bit.

Thanks a lot Amjad, It worked.

@YaSaSwini,

Good to know that the suggested code figures out your issue now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.