ClipboardCommandSet.CreateMetafileForClipboard 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.
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