Diagram.AddImageFormat Method
Adds the format of the diagram image to IDataObject, which is responsible for transferring data.
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.