DWF Viewer

DWF Viewer

Reply
New Member
2 Posts
0 Kudos
Registered: ‎03-30-2007
Post 1 of 2

Get text position and transform cordinate DWFTOOLKIT 7.6

2071 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
136 Posts
3 Kudos
Registered: ‎06-07-2009
Post 2 of 2

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