Beispiel #1
0
        private void ButtonPrint_Click(object sender, RoutedEventArgs e)
        {
#if false
            PrintDialog print_dialog = new System.Windows.Controls.PrintDialog();
            if (print_dialog.ShowDialog() ?? false)
            {
                FeatureTrackingManager.Instance.UseFeature(Features.Brainstorm_Print);
                print_dialog.PrintVisual(SceneRenderingControl, "Qiqqa Brainstorm");
            }
#endif

            FrameworkElementPrinter.Print(SceneRenderingControl, "Qiqqa Brainstorm");
        }
Beispiel #2
0
        void ButtonPrint_Click(object sender, RoutedEventArgs e)
        {
            /*
             * PrintDialog print_dialog = new System.Windows.Controls.PrintDialog();
             * if (print_dialog.ShowDialog() ?? false)
             * {
             *  FeatureTrackingManager.Instance.UseFeature(Features.Brainstorm_Print);
             *  print_dialog.PrintVisual(ObjSceneRenderingControlScrollWrapper.ObjSceneRenderingControl, "Qiqqa Brainstorm");
             * }
             * */

            FrameworkElementPrinter.Print(ObjSceneRenderingControlScrollWrapper.ObjSceneRenderingControl, "Qiqqa Brainstorm");
        }