To show the top line of some text in the CADPictureBox

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
peter.lin
Posts: 2
Joined: 30 Dec 2012, 06:35

To show the top line of some text in the CADPictureBox

Post by peter.lin » 30 Dec 2012, 06:42

I use AutoCAD TEXT control char like %%O%% to show the top line of some text in the dxf file.

It's work in AutoCAD, but two issues as follows with the CADPictureBox.

1. The top line display as strikethrough.
2. The position move to right, that is The alignment MiddleCenter becomes MiddleRight.

How can I do? or by CADPicture settings.

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

Re: To show the top line of some text in the CADPictureBox

Post by support » 03 Jan 2013, 13:07

Hello.
CAD Import .NET displays overscoring as strikethrough. This is the library bug, we will consider it. However we have not found incorrect alignment as described. Could you please send an example file to support@cadsofttools.com for testing?

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

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

Re: To show the top line of some text in the CADPictureBox

Post by support » 15 Apr 2013, 18:27

Hello.
The problem with overscoring have solved. The solution will be available with the next library release.

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

peter.lin
Posts: 2
Joined: 30 Dec 2012, 06:35

Re: To show the top line of some text in the CADPictureBox

Post by peter.lin » 09 Jul 2014, 08:02

I have updated to CADImport 9.x,the text with top line is OK, but text alignment is NO. If the text with control code like %%O, alignment is not my setting.

I run demo source code to read dxf, It's OK, how to set some properties of CADPictureBox or rewrite some code to do that.

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

Re: To show the top line of some text in the CADPictureBox

Post by support » 11 Jul 2014, 11:58

Hello Peter,

There is a problem with import of aligned text in our library. It seems that an alignment is ignored. We will test this issue.


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

Post Reply