How to limit the height of MText?

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
vismut
Posts: 3
Joined: 09 May 2020, 01:57

How to limit the height of MText?

Post by vismut » 09 May 2020, 02:05

How to limit the height of MText so that it does not change when changing the length of text or font?
Thanks!

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

Re: How to limit the height of MText?

Post by support » 15 May 2020, 03:20

Hello,

MText normally consists of several lines of text. For example:

Line1
Line2
Line3
Line4
Line5

Do you want to limit the height of the MText bounding rectangle or the height of a single line of MText?

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

vismut
Posts: 3
Joined: 09 May 2020, 01:57

Re: How to limit the height of MText?

Post by vismut » 16 May 2020, 00:35

Hello Mikhail!

I need to limit the height of the bounding rectangle. So that only the text that fits in the rectangle is displayed, without changing its font and with fixed line spacing.

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

Re: How to limit the height of MText?

Post by support » 19 May 2020, 00:15

Hello,

Can the width of the MText be changed in this case or it should be fixed?

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

Post Reply