Compartir a través de


ClipboardCommandSet.CreateMetafileForClipboard Method

Definition

For the given shapes, this method to create enhanced meta file for the Clipboard. If you do not want enhanced meta file to be in the clipboard, override this method and return null.

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

Parameters

selectedShapes
IEnumerable<ShapeElement>

currently selected shapes in the diagram

Returns

Applies to