public static void CmdExportAsXAML() { if (!VisioPowerToolsAddIn.Client.HasActiveDocument) { System.Windows.Forms.MessageBox.Show("Open or create a new Drawing to export it."); return; } var form = new FormExportSelectionAsFormat(FormExportSelectionAsFormat.enumExportFormat.ExportXAML); form.ShowDialog(); }
public static void CmdExportAsSVGXHTML() { if (!VisioPowerToolsAddIn.Client.HasActiveDocument) { System.Windows.Forms.MessageBox.Show("Open or create a new Drawing to export it."); return; } var form = new FormExportSelectionAsFormat(FormExportSelectionAsFormat.enumExportFormat.ExportSVGXHTML); form.ShowDialog(); }