Highlight entity

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
dbianchi
Posts: 2
Joined: 30 Jul 2012, 20:46

Highlight entity

Post by dbianchi » 30 Jul 2012, 20:50

I need find entity and then highlight it.
Could you help me?
Thanks in advance

Regards

DBianchi

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Highlight entity

Post by support » 31 Jul 2012, 14:08

Hello.
CAD Import .NET doesn't support highlighting in usual meaning (lightly colored area around element). Selected entities visualized with different line type. An entity can be found in a collection and selected. Please specify a criteria for the search. An entity can be also selected visually.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

dbianchi
Posts: 2
Joined: 30 Jul 2012, 20:46

Re: Highlight entity

Post by dbianchi » 31 Jul 2012, 15:19

thanks for reply. user request is search a text and, if found, highlight it.
i have implemented method for search and work fine. There's a method for ensure visible an object?

Thanks

D.Bianchi

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Highlight entity

Post by support » 31 Jul 2012, 17:45

Hello.
CADText entity is visible on drawing if both CADText.Visible and CADText.Visibility have true value. You can also check text's presence on screen using CADText.Box and CADImage.GetPoint method.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply