I could read all objects in DWF file ( with w2d package inside ) by using samples in DWF Toolkit.
But I don't know how to get the handle of specified object because I need to modify this objects (ex: change description, edit the text, or add hyperlink...)
Ex: I have a DWF file with 2 pipe line inside, anyone can tell me how to get one pine line and modify this line (such as: change the description, tag or add hyperlink ) ?
Thank you very much.
i'm researching this solution . And i have just test successfull with my solution :
First you can get direct stream w2d from dwf package and read all object , after that you can rewrite stream into w2d file .
May be, you can view code rewrite w2d file in http://forums.autodesk.com/t5/DWF/Merging-W2D-File
When i rewrite wt_object into another w2d file , i can edit it before writing into file. Example add hyperlink, add data ..v...
Last, you can publish w2d file into dwf package by sample code in dwf toolkit, i refer "SimpleEPlotWriter"
Access a broad range of knowledge to help get the most out of your products and services.