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
- selectedShapes
Type: System.Collections.ICollection
The collection of shapes.
Return Value
Type: System.Boolean
true if the collection of shapes was copied to the Clipboard as an image; otherwise, false.
.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.