Share via


ClipboardCommandSet.CreateBitmapForClipboard Method

Definition

Returns bitmap for staged into the clipboard.

protected:
 virtual System::Drawing::Bitmap ^ CreateBitmapForClipboard(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^> ^ selectedShapes);
protected virtual System.Drawing.Bitmap CreateBitmapForClipboard (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement> selectedShapes);
abstract member CreateBitmapForClipboard : seq<Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement> -> System.Drawing.Bitmap
override this.CreateBitmapForClipboard : seq<Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement> -> System.Drawing.Bitmap
Protected Overridable Function CreateBitmapForClipboard (selectedShapes As IEnumerable(Of ShapeElement)) As Bitmap

Parameters

selectedShapes
IEnumerable<ShapeElement>

Currently selected shape in the diagram

Returns

Bitmap object to be staged into the clipboard, null if you do not want bitmap to be staged into the clipboard.

Applies to