}// end:OnClose() // -------------------------- PrintDocument --------------------------- /// <summary> /// Prints the DocumentViewer's content and annotations.</summary> public void PrintDocument() { if (DocViewer == null) { return; } DocViewer.Print(); }// end:PrintDocument()
} // end:OnClose() // -------------------------- PrintDocument --------------------------- /// <summary> /// Prints the DocumentViewer's content and annotations. /// </summary> public void PrintDocument() { DocViewer?.Print(); } // end:PrintDocument()