DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get text position and transform cordinate DWFTOOLKIT 7.6

1 REPLY 1
Reply
Message 1 of 2
sebastien_lourdel
2682 Views, 1 Reply

Get text position and transform cordinate DWFTOOLKIT 7.6

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,

 

1 REPLY 1
Message 2 of 2

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report