Share via


ClipboardCommandSet.CreateBitmapForClipboard Method

Called on copy or cut to generate a bitmap that can be placed on the clipboard, given a set of shapes, or null to place no bitmap on the clipboard.

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

Syntax

'Declaration
Protected Overridable Function CreateBitmapForClipboard ( _
    selectedShapes As IEnumerable(Of ShapeElement) _
) As Bitmap
protected virtual Bitmap CreateBitmapForClipboard(
    IEnumerable<ShapeElement> selectedShapes
)
protected:
virtual Bitmap^ CreateBitmapForClipboard(
    IEnumerable<ShapeElement^>^ selectedShapes
)
abstract CreateBitmapForClipboard : 
        selectedShapes:IEnumerable<ShapeElement> -> Bitmap  
override CreateBitmapForClipboard : 
        selectedShapes:IEnumerable<ShapeElement> -> Bitmap
protected function CreateBitmapForClipboard(
    selectedShapes : IEnumerable<ShapeElement>
) : Bitmap

Parameters

Return Value

Type: System.Drawing.Bitmap
Bitmap to be staged into the clipboard, or null if you do not want bitmap to be staged into the clipboard.

.NET Framework Security

See Also

Reference

ClipboardCommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace