using IronPrint;
// Configure landscape orientation for wide documents
var settings = new PrintSettings
{
PaperOrientation = PaperOrientation.Landscape
};
Printer.Print("spreadsheet.pdf", settings);
Imports IronPrint
' Configure landscape orientation for wide documents
Dim settings As New PrintSettings With {
.PaperOrientation = PaperOrientation.Landscape
}
Printer.Print("spreadsheet.pdf", settings)
Imports IronPrint
' Configure landscape orientation for wide documents
Dim settings As New PrintSettings With {
.PaperOrientation = PaperOrientation.Landscape
}
Printer.Print("spreadsheet.pdf", settings)