DWF Viewer

DWF Viewer

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

Get text position and transform cordinate DWFTOOLKIT 7.6

2066 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,050 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
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.