Exemple #1
0
        public static void ShowFileExportMetafileDialog(this GraphDocument doc)
        {
            var opt = new GraphExportOptions();

            opt.TrySetImageAndPixelFormat(ImageFormat.Emf, PixelFormat.Format32bppArgb);
            ShowFileExportDialog(doc, opt);
        }
Exemple #2
0
        public static void ShowFileExportTiffDialog(this GraphDocument doc)
        {
            var opt = new GraphExportOptions();

            opt.TrySetImageAndPixelFormat(ImageFormat.Tiff, PixelFormat.Format32bppArgb);
            opt.SourceDpiResolution      = 300;
            opt.DestinationDpiResolution = 300;
            ShowFileExportDialog(doc, opt);
        }