ClipboardCommandSet.CreateBitmapForClipboard Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.