This example demonstrates how to use the ExportOptions.SetOptionVisibility and ExportOptions.SetOptionsVisibility methods to change the visibility of export options which are shown when an end-user exports a document from its Print Preview. The code below hides some of the PDF-specific export options.
Note that a list of all available export options is represented by the ExportOptionKind enumeration.