'Declaration Public Overloads Shared Function Print( _ ByVal sectionDocument As SectionDocument, _ ByVal showPrintDialog As Boolean, _ ByVal showPrintProgressDialog As Boolean _ ) As Boolean
public static bool Print( SectionDocument sectionDocument, bool showPrintDialog, bool showPrintProgressDialog )
Parameters
- sectionDocument
- The section document to be printed.
- showPrintDialog
- Specifies whether the print dialog should be shown to the user. If
true
, the print dialog is displayed, allowing the user to select printer settings. - showPrintProgressDialog
- Specifies whether the print progress dialog should be shown during the printing process. If
true
, the progress dialog is displayed, providing feedback about the printing status.
Return Value
true
if the print operation completes successfully; otherwise, false
.