DiagramExporter Class

Exports diagrams from the Domain-Specific Language Designer as images.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Shell.DiagramExporter

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

声明
Public Class DiagramExporter
public class DiagramExporter
public ref class DiagramExporter
type DiagramExporter =  class end
public class DiagramExporter

The DiagramExporter type exposes the following members.

Constructors

  Name Description
Public method DiagramExporter Initializes a new instance of the DiagramExporter class.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExportDiagram Exports a single diagram as an image in the specified format.
Public method ExportDiagrams(IList<String>, String, Boolean) Exports multiple diagrams as .png images.
Public method ExportDiagrams(IList<String>, String, ImageFormat, Boolean) Exports multiple diagrams as images in the specified format.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event ExportErrorEvent Occurs when an error is encountered as a diagram is being exported.
Public event ExportQueryUserActionEvent Occurs when the user must provide a response.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace