This topic has not yet been rated - Rate this topic

Diagram.AddImageFormat Method

Adds the format of the diagram image to IDataObject, which is responsible for transferring data.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual void AddImageFormat(
	IDataObject data,
	ICollection selectedElements
)

Parameters

data
Type: System.Windows.Forms.IDataObject
The IDataObject in which to add the image data format.
selectedElements
Type: System.Collections.ICollection
The collection of model elements to include in the diagram image.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ