Pastes diagram items from the Windows clipboard.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
SyntaxC#
Copy Code
|
|---|
public bool PasteFromClipboard ( |
Visual Basic
Copy Code
|
|---|
Public Function PasteFromClipboard( _ |
true if successful; otherwise, false.
RemarksIf MindFusion.Diagramming items are available in the clipboard, this method clones them and adds them to the current diagram. Non-zero dx / dy offset is useful when pasting items several times consecutively, so the pasted items don't overlay the original ones completely.
ExampleCopying and pasting can be implemented like that:
C#
Copy Code
|
|---|
private float pasteDX; |
Visual Basic
Copy Code
|
|---|
Private pasteDX As Single |
See Also