print area

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

print area

Postby ctseng123 » Fri Apr 27, 2012 4:49 pm

Would you please give example for setup print area in coding?

Posts: 11
Joined: Sun May 22, 2011 10:25 pm

Re: print area

Postby Suvi.Wu » Tue May 01, 2012 10:36 am

Hi ,

Thanks for your patience and so sorry for the long-time waiting.

You can use the following code to set the print area:

Code: Select all
 workbook.Worksheets[0].PageSetup.PrintArea = "A1:F8";
//give the area you want to print

If you have any other questions, please feel free to contact us.

Have a nice day.

Kind Regards
e-iceblue support
User avatar
Posts: 156
Joined: Thu Oct 20, 2011 2:53 am

Re: print area

Postby naigneeUrinia » Fri Feb 15, 2013 9:24 am

Many thanks.
Posts: 1
Joined: Sun Dec 23, 2012 11:14 pm

Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 0 guests