Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Charts.Designer
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.Mvvm.UI.Interactivity
  [Expand]DevExpress.Mvvm.UI.ModuleInjection
  [Expand]DevExpress.Xpf.Accordion
  [Expand]DevExpress.Xpf.Bars
  [Expand]DevExpress.Xpf.Carousel
  [Expand]DevExpress.Xpf.Charts
  [Expand]DevExpress.Xpf.Charts.Localization
  [Expand]DevExpress.Xpf.Charts.RangeControlClient
  [Expand]DevExpress.Xpf.ChunkList
  [Expand]DevExpress.Xpf.Controls
  [Expand]DevExpress.Xpf.Core
  [Expand]DevExpress.Xpf.Core.ConditionalFormatting
  [Expand]DevExpress.Xpf.Core.DataSources
  [Expand]DevExpress.Xpf.Core.ServerMode
  [Expand]DevExpress.Xpf.Data
  [Expand]DevExpress.Xpf.DataAccess
  [Expand]DevExpress.Xpf.DataAccess.DataSourceWizard
  [Collapse]DevExpress.Xpf.Diagram
   [Expand]DiagramCommands Class
   [Expand]DiagramConnector Class
   [Expand]DiagramContainer Class
   [Expand]DiagramContainerBase Class
   [Collapse]DiagramControl Class
     DiagramControl Members
     DiagramControl Constructor
    [Expand]DiagramControl Properties
    [Expand]DiagramControl Events
    [Collapse]DiagramControl Methods
      AlignCanvas Method
      AlignPage Method
     [Expand]ApplyCircularLayout Method
     [Expand]ApplyMindMapTreeLayout Method
     [Expand]ApplyMindMapTreeLayoutForSubordinates Method
     [Expand]ApplySugiyamaLayout Method
     [Expand]ApplyTipOverTreeLayout Method
     [Expand]ApplyTipOverTreeLayoutForSubordinates Method
     [Expand]ApplyTreeLayout Method
     [Expand]ApplyTreeLayoutForSubordinates Method
      AttachToWindow Method
      BeginInit Method
      BringItemsForward Method
      BringItemsIntoView Method
      BringItemsToFront Method
      BringSelectedItemsForward Method
      BringSelectedItemsToFront Method
      BringSelectionIntoView Method
     [Expand]CalcHitInfo Method
     [Expand]CalcHitItem Method
      ChangeConnectorsType Method
      ChangeSelectedConnectorsType Method
      ClearSelection Method
      CopySelectedItems Method
      CreateAdorner Method
      CreateAdornerEx<TObject, TInterface> Method
      CreateBackgroundAdorner Method
      CreateHRulerAdorner Method
      CreateVRulerAdorner Method
      CutSelectedItems Method
      DeleteItems Method
      DeleteSelectedItems Method
      DetachFromWindow Method
      EndInit Method
     [Collapse]ExportDiagram Method
       ExportDiagram(String) Method
       ExportDiagram(DiagramExportFormat) Method
       ExportDiagram(String, Double, Double) Method
       ExportDiagram(Stream, DiagramExportFormat, Nullable<Double>, Nullable<Double>) Method
      FitToDrawing Method
      FitToItems Method
      FitToPage Method
      FitToWidth Method
      GetDiagram Method
      GetDrawingContext Method
      InsertImage Method
     [Expand]LoadDocument Method
      LoadImage Method
      NewDocument Method
      NewFile Method
      OnApplyTemplate Method
      OpenFile Method
      Paste Method
      PointToControl Method
      PointToDocument Method
      Print Method
      QuickPrint Method
      RegisterRoutingStrategy Method
      ResetSelectedImages Method
     [Expand]SaveDocument Method
      SaveFile Method
      SaveFileAs Method
      ScrollToPoint Method
      SelectAll Method
      SelectItem Method
     [Expand]SelectItems Method
      SendItemsBackward Method
      SendItemsToBack Method
      SendSelectedItemsBackward Method
      SendSelectedItemsToBack Method
      SetDiagram Method
      SetDrawingContext Method
      SetSelectedImagesScale Method
      SetSelectedImagesStretchMode Method
      ShowEditor Method
      ShowPrintPreview Method
      UnregisterRoutingStrategy Method
      UnselectItem Method
      UpdateConnectorsRoute Method
      ZoomIn Method
      ZoomOut Method
   [Expand]DiagramCustomCursorEventArgs Class
   [Expand]DiagramDataBindingBehavior Class
   [Expand]DiagramDataBindingBehaviorBase Class
   [Expand]DiagramDesignerControl Class
    DiagramDrawingContext Enumeration
   [Expand]DiagramImage Class
   [Expand]DiagramItem Class
   [Expand]DiagramOrgChartBehavior Class
   [Expand]DiagramShape Class
  [Expand]DevExpress.Xpf.Docking
  [Expand]DevExpress.Xpf.Docking.Base
  [Expand]DevExpress.Xpf.DocumentViewer
  [Expand]DevExpress.Xpf.DXBinding
  [Expand]DevExpress.Xpf.Editors
  [Expand]DevExpress.Xpf.Editors.DateNavigator
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor.Native
  [Expand]DevExpress.Xpf.Editors.Filtering
  [Expand]DevExpress.Xpf.Editors.Flyout
  [Expand]DevExpress.Xpf.Editors.Flyout.Native
  [Expand]DevExpress.Xpf.Editors.Helpers
  [Expand]DevExpress.Xpf.Editors.Popups
  [Expand]DevExpress.Xpf.Editors.RangeControl
  [Expand]DevExpress.Xpf.Editors.Settings
  [Expand]DevExpress.Xpf.Editors.Validation
  [Expand]DevExpress.Xpf.ExpressionEditor
  [Expand]DevExpress.Xpf.Gauges
  [Expand]DevExpress.Xpf.Gauges.Localization
  [Expand]DevExpress.Xpf.Grid
  [Expand]DevExpress.Xpf.Grid.ConditionalFormatting
  [Expand]DevExpress.Xpf.Grid.LookUp
  [Expand]DevExpress.Xpf.Grid.TreeList
  [Expand]DevExpress.Xpf.Layout.Core
  [Expand]DevExpress.Xpf.LayoutControl
  [Expand]DevExpress.Xpf.Map
  [Expand]DevExpress.Xpf.NavBar
  [Expand]DevExpress.Xpf.Navigation
  [Expand]DevExpress.Xpf.PdfViewer
  [Expand]DevExpress.Xpf.PivotGrid
  [Expand]DevExpress.Xpf.PivotGrid.Printing
  [Expand]DevExpress.Xpf.Printing
  [Expand]DevExpress.Xpf.Printing.Parameters
  [Expand]DevExpress.Xpf.Printing.Parameters.Models
  [Expand]DevExpress.Xpf.Printing.PreviewControl
  [Expand]DevExpress.Xpf.Printing.PreviewControl.Bars
  [Expand]DevExpress.Xpf.Prism
  [Expand]DevExpress.Xpf.PropertyGrid
  [Expand]DevExpress.Xpf.Reports.UserDesigner
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Extensions
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Localization
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard.Pages
  [Expand]DevExpress.Xpf.Ribbon
  [Expand]DevExpress.Xpf.RichEdit
  [Expand]DevExpress.Xpf.RichEdit.Menu
  [Expand]DevExpress.Xpf.Scheduler
  [Expand]DevExpress.Xpf.Scheduler.Drawing
  [Expand]DevExpress.Xpf.Scheduler.Menu
  [Expand]DevExpress.Xpf.Scheduler.Reporting
  [Expand]DevExpress.Xpf.Scheduler.UI
  [Expand]DevExpress.Xpf.Scheduling
  [Expand]DevExpress.Xpf.Scheduling.Editors
  [Expand]DevExpress.Xpf.Scheduling.Reporting
  [Expand]DevExpress.Xpf.Scheduling.Visual
  [Expand]DevExpress.Xpf.SpellChecker
  [Expand]DevExpress.Xpf.Spreadsheet
  [Expand]DevExpress.Xpf.Spreadsheet.Menu
  [Expand]DevExpress.Xpf.TreeMap
  [Expand]DevExpress.Xpf.Utils.Themes
  [Expand]DevExpress.Xpf.WindowsUI
  [Expand]DevExpress.Xpf.WindowsUI.Internal
  [Expand]DevExpress.Xpf.WindowsUI.Navigation
  [Expand]DevExpress.XtraRichEdit
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

DiagramControl.ExportDiagram(DiagramExportFormat) Method

Invokes the Export dialog window.

Namespace:DevExpress.Xpf.Diagram
Assembly:DevExpress.Xpf.Diagram.v17.2.dll

Expanded Syntax

Parameters

exportFormat
Type: DiagramExportFormat
A DevExpress.Diagram.Core.DiagramExportFormat enumeration value that is the file format which is selected in the dialog window by default.

Expanded Remarks

The exportFormat parameter only affects which format is selected by default. End-users can select any other available file format in the invoked dialog window.

The following file formats are supported: JPG, PNG, GIF, BMP.

Expanded See Also

How would you rate this topic?​​​​​​​