Example #1
0
        }// end:OnClose()

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

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