Spreadsheet .NET > Tutorial > Set Page Size

The following example shows you how to set page size and orientation.

C# example
VB example