Hello!
I am using CADViewX Lite v9.
how you can programmatically find text in a document?
Find Text in DWG file
Moderators: SDS, support, admin
Re: Find Text in DWG file
Hello,
In general, you will have to iterate through all the items in the entities collection (CADViewX.DXFImage.Entities) and check if the entity ID is equal to TEntityID.eidText to filter TEXT entities, then compare text strings (Text.Text) with the searched one to find the text. Please, specify your programming language to get a sample code.
Mikhail
In general, you will have to iterate through all the items in the entities collection (CADViewX.DXFImage.Entities) and check if the entity ID is equal to TEntityID.eidText to filter TEXT entities, then compare text strings (Text.Text) with the searched one to find the text. Please, specify your programming language to get a sample code.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support