Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called on copy or cut to generate a meta file for the Clipboard. The default implementation generates an enhanced metafile.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Protected Overridable Function CreateMetafileForClipboard ( _
selectedShapes As IEnumerable(Of ShapeElement) _
) As Metafile
protected virtual Metafile CreateMetafileForClipboard(
IEnumerable<ShapeElement> selectedShapes
)
protected:
virtual Metafile^ CreateMetafileForClipboard(
IEnumerable<ShapeElement^>^ selectedShapes
)
abstract CreateMetafileForClipboard :
selectedShapes:IEnumerable<ShapeElement> -> Metafile
override CreateMetafileForClipboard :
selectedShapes:IEnumerable<ShapeElement> -> Metafile
protected function CreateMetafileForClipboard(
selectedShapes : IEnumerable<ShapeElement>
) : Metafile
Parameters
- selectedShapes
Type: System.Collections.Generic.IEnumerable<ShapeElement>
The shapes in the diagram that are to be placed on the clipboard.
Return Value
Type: System.Drawing.Imaging.Metafile
Metafile to be placed on the clipboard, or null to place no metafile on the clipboard.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.