Prod.: Engine, ver.: 6016, ID: 60000989, Wish : CmdClipPaste to support Image, File Drop and Text Clipboard formats

Wish : CmdClipPaste to support Image, File Drop and Text Clipboard formats

Article60000989
TypeWish
ProductEngine
Version6016
Date Added10/30/2009
FixedYes [10/30/2009]
Submitted bystavros meimaroglou
Keywords

Subject

CmdClipPaste to support Image, File Drop and Text Clipboard formats

Summary

CmdClipPaste to support Image, File Drop and Text Clipboard formats.

Solution

Added in 6017.

CmdClipPaste enums clipboard formats in following order:
   1. A VectorDraw drawing memory stream
   2. A valid FileDrop Clipboard format. (supports vdml, vdcl, vdf, vdi, dxf, dwg*, dgn*, jpg, bmp)
   3. A Clipboard Image object.
   4. A Clipboard text object.

Also a new method was added in vdDocument object LoadFromClipboard which initialize the Document from Clipboard data.

For example if you open your explored and copy a file (vdml , vdcl etc..... see above) or a supported image file or even copy a text from a notepad file you can paste it using clip paste command and a block will be created depending the type that you copied. A file can be opened or an image can be added or an vdMtext object will be added to the document depending the type of the copied object.

* Using FileConverter Full/Lite or OpenDesign Libraries