Share via


Diagram.AddImageFormat(IDataObject, ICollection) Method

Definition

Adds the bitmap data format to the IDataObject.

public:
 virtual void AddImageFormat(System::Windows::Forms::IDataObject ^ data, System::Collections::ICollection ^ selectedElements);
public virtual void AddImageFormat (System.Windows.Forms.IDataObject data, System.Collections.ICollection selectedElements);
abstract member AddImageFormat : System.Windows.Forms.IDataObject * System.Collections.ICollection -> unit
override this.AddImageFormat : System.Windows.Forms.IDataObject * System.Collections.ICollection -> unit
Public Overridable Sub AddImageFormat (data As IDataObject, selectedElements As ICollection)

Parameters

data
IDataObject

The IDataObject to add the image data formats to.

selectedElements
ICollection

The collection of ModelElements to include in the image.

Applies to