Spreadsheet .NET > Tutorial > Set Page Size and Margins

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

C# example
VB example