using IronPrint;
// Flatten the PDF before printing to preserve form fields and annotations
PrintSettings settings = new PrintSettings();
settings.Flatten = true;
Printer.Print("form-document.pdf", settings);
Imports IronPrint
' Flatten the PDF before printing to preserve form fields and annotations
Dim settings As New PrintSettings()
settings.Flatten = True
Printer.Print("form-document.pdf", settings)
Imports IronPrint
' Flatten the PDF before printing to preserve form fields and annotations
Dim settings As New PrintSettings()
settings.Flatten = True
Printer.Print("form-document.pdf", settings)