Ejemplo n.º 1
0
 private void SetClipBoard()
 {
     if (Selection.SelectionVisibility == Visibility.Visible)
     {
         var buffer = _clipboardMan.GetBufferedRegion(_world, Selection.Rectangle);
         buffer.Preview = _renderer.RenderBuffer(buffer);
         ClipboardMan.LoadedBuffers.Insert(0, buffer);
         ClipboardMan.Buffer = null;
         ClipboardMan.Buffer = buffer;
     }
 }