Share via


Diagram.CopyImageToClipboard Method

Copies a collection of shapes and their parent shapes to the Clipboard as an image.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Function CopyImageToClipboard ( _
    selectedShapes As ICollection _
) As Boolean
public bool CopyImageToClipboard(
    ICollection selectedShapes
)
public:
bool CopyImageToClipboard(
    ICollection^ selectedShapes
)
member CopyImageToClipboard : 
        selectedShapes:ICollection -> bool 
public function CopyImageToClipboard(
    selectedShapes : ICollection
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the collection of shapes was copied to the Clipboard as an image; otherwise, false.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace