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

Article 60000989
Type Wish
Product Engine
Version 6016
Date Added 10/30/2009 12:00:00 AM
Fixed (10/30/2009 12:00:00 AM)
Submitted by stavros meimaroglou


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


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

Send comments on this topic.