Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Getting Text entity information..
Started by Gyob at 04-29-2008 6:12. Topic has 18 replies.

Print Search « Previous Thread Next Thread »
  04-29-2008, 6:12
Gyob is not online. Last active: 5/16/2008 11:16:38 AM Gyob

Top 500 Posts
Joined on 02-11-2008
Posts 10
Re: Getting Text entity information..
Reply Quote
Thank you for your fixes. So I downloaded and tested the latest version but there are some bugs on the recovery of the text entity. When I use L_VecGetObject to retreive the object text description VECTORTEXT, the retrieved string into pszText of the VECTORTEXT structure is not complete. The only first character of the string is returned and not a full text contained into the DXF file.
Please Check this from your side and go back to me if there are any fix for this problem.

Thanks

Okba
   Report 
  04-29-2008, 9:43
GregR is not online. Last active: 8/29/2008 2:25:56 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,542
Re: Getting Text entity information..

Attachment: screen.JPG
Reply Quote
In the test project that was reported with the incident, the problem was originally occuring with this code:

nRet = L_VecGetObject( pVector, pObject, VECTOR_TEXT, &TextDesc );
import = (wchar_t *)TextDesc.pszText;


TextDesc.pszText is a pointer, so in the debugger watch window you will likely only see the first letter, but if you check the CString import, you will notice that it has the full text.  See my attached screenshot.


Greg Ross
LEADTOOLS Technical Support
   Report 
  04-30-2008, 10:32
Gyob is not online. Last active: 5/16/2008 11:16:38 AM Gyob

Top 500 Posts
Joined on 02-11-2008
Posts 10
Re: Getting Text entity information..
Reply Quote
I have my LeadTools evaluation licence expired, how can I  extend my period time?

Thanks

   Report 
  04-30-2008, 10:47
Qasem Lubani is not online. Last active: 9/2/2008 11:31:52 AM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,044
Re: Getting Text entity information..
Reply Quote
Please send an email to support@leadtools.com and ask for the evaluation extender download instructions.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
 Page 2 of 2 (19 items) « 1 2
LEAD Support Fo... » Developer » Vector » Getting Text entity information..

Powered by Community Server, by Telligent Systems