DWF Viewer

DWF Viewer

Reply
New Member
sebastien.lourdel
Posts: 2
Registered: ‎03-30-2007
Message 1 of 2 (2,044 Views)

Get text position and transform cordinate DWFTOOLKIT 7.6

2044 Views, 1 Replies
10-06-2010 05:41 AM

Hi,

i use dwftoolkit 7.6 to extracting all text on dwf and i get the position X and Y but x = 2147482397

I use the sample namely DwfStrings.

 

How transforming cordinate dwf to cordinate DWG?

 

best regards,

 

Employee
SilviaCao
Posts: 136
Registered: ‎06-07-2009
Message 2 of 2 (2,028 Views)

Re: Get text position and transform cordinate DWFTOOLKIT 7.6

10-07-2010 11:14 PM in reply to: sebastien.lourdel
Thank you for your question. Firstly, the text position needs to apply the transform matrix (DWFGraphicResource::transform()). Secondly, if the text is in a viewport, then text position should apply the viewport transform (Please refer to the DWF Toolkit docs). Thirdly, the position is in logical unit, position/100,000 can get the coordinates in inch unit. At last, please let me know where is the DwfStrings you get from? Silvia ADR/DWF Customer Support


Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.