Pastes diagram items from the Windows clipboard.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public bool PasteFromClipboard ( |
Visual Basic Copy Code |
---|
Public Function PasteFromClipboard( _ |
true if successful; otherwise, false.
If 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.
Copying and pasting can be implemented like that:
C# Copy Code |
---|
private float pasteDX; |
Visual Basic Copy Code |
---|
Private pasteDX As Single |