다음을 통해 공유


ClipboardCommandSet.CreateMetafileForClipboard Method

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

‘선언
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

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

See Also

Reference

ClipboardCommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace