Example #1
0
        private void SavePB_Click(object sender, RoutedEventArgs e)
        {
            SaveImageDialog dlg = new SaveImageDialog(RunImagerControl.GetImageBitmap(),
                                                      RunImagerControl.GetImageData(),
                                                      RunImagerControl.m_imageWidth,
                                                      RunImagerControl.m_imageHeight);

            dlg.ShowDialog();
        }
Example #2
0
        private void SaveImagePB_Click(object sender, RoutedEventArgs e)
        {
            bool allowSaveRefImage = false;

            if (vm.Binning == 1)
            {
                allowSaveRefImage = true;
            }

            SaveImageDialog dlg = new SaveImageDialog(ImageDisplayControl.m_imageBitmap,
                                                      ImageDisplayControl.m_grayImage,
                                                      m_camera.m_acqParams.BinnedFullImageWidth,
                                                      m_camera.m_acqParams.BinnedFullImageHeight,
                                                      allowSaveRefImage);

            dlg.ShowDialog();
        }