Display default print preview on opening the workbook

Hi, I’m developing reports with Aspose Cells in .Net (C#)
I was wondering if you can guide me with the link or demo where we can set the workbook to display by default the print preview (View -> Page Layout n M.Excel) . I saw on one of your resources over the internet few days ago and now when needed I couldn’t find it

@Remus87,

You may try the following line of code:
e.g.
Sample code:

Workbook workbook = new Workbook(stringFilePath);
Worksheet worksheet = workbook.Worksheets[0]
.........
//Set the first worksheet's view type as page layout view.  
worksheet.ViewType = ViewType.PageLayoutView; 
.....

Hope, this helps a bit.

This is the one. Thank you

@Remus87,

You are welcome.