Diagram.CopyImageToClipboard Method
Copies a collection of shapes and their parent shapes to the Clipboard as an image.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- selectedShapes
- Type: System.Collections.ICollection
The collection of shapes.
Return Value
Type: System.Booleantrue if the collection of shapes was copied to the Clipboard as an image; otherwise, false.
- 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.