ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Maximum size of a text layer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndNit

Brazil
83 Posts

Posted - Sep 02 2024 :  12:38:33  Show Profile  Reply
[Redacted]

xequte

39051 Posts

Posted - Sep 02 2024 :  17:41:48  Show Profile  Reply
Hi

When you use SizeToText it will attempt to size to both width and height, but it cannot work perfectly with wrapped text.

https://www.imageen.com/help/TIETextLayer.SizeToText.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

39051 Posts

Posted - Sep 02 2024 :  23:57:51  Show Profile  Reply
Hi

Please email me for the latest beta. It makes it no wider than the view, and SizeToText() includes a LenghtenOnly parameter.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

39051 Posts

Posted - Sep 03 2024 :  15:12:49  Show Profile  Reply
At this time, with the update:

- Text layers never become wider than the view
- SizeToText() includes a LenghtenOnly parameter

(WordWrap must be true).

But we could include a FixedWidth property or something similar that ensures it never widens.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

39051 Posts

Posted - Sep 04 2024 :  16:23:19  Show Profile  Reply
Hi

We'll be issuing a beta next week with a MaxWidth property. But I'd caution against using a beta in a release product.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: