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
 Add label to iekLINE
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

c.basso

Italy
36 Posts

Posted - Jan 27 2017 :  13:03:28  Show Profile  Reply
Is there a way to add a label text to a iekLINE object?
I need something like the iekRULER object, but with a custom text.

I've tried to add a iekTEXT object and group it with the line,
but if the line is diagonal, it's impossible by code to put the text exactly under the line.

Any suggestion?

Thanks

Claudio

xequte

38616 Posts

Posted - Feb 01 2017 :  01:54:26  Show Profile  Reply
Hi Claudio

In 7.0.0 , which will be ready in the next month or so, line layers include an optional text label.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

c.basso

Italy
36 Posts

Posted - Feb 01 2017 :  05:38:56  Show Profile  Reply
Ok, thank you.

Claudio
Go to Top of Page

c.basso

Italy
36 Posts

Posted - Jun 06 2017 :  11:12:53  Show Profile  Reply
In new version 7, how can add the text label on a line layer?

Claudio
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jun 06 2017 :  12:50:41  Show Profile  Reply
TIELineLayer(ImageEnView.CurrentLayer).LabelPosition := TIELineLabelPos(LabelPosition1.ItemIndex);
TIELineLayer(ImageEnView.CurrentLayer).LabelText := LabelText1.Text;
TIELineLayer(ImageEnView.CurrentLayer).LabelFont.Name := LabelFontNameComboBox1.EditValue;
TIELineLayer(ImageEnView.CurrentLayer).LabelFont.Color := LabelTextColor1.Selected;
TIELineLayer(ImageEnView.CurrentLayer).LabelFont.Size := LabelFontSize1.EditValue;

Look up other TIELineLayer properties in the online help file.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

c.basso

Italy
36 Posts

Posted - Jun 21 2017 :  11:46:52  Show Profile  Reply
I can't find the way to put a label on the center of the line like iekRULER object,
LabelPosition allow me to put only on start or end of the line.

Claudio
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jun 21 2017 :  11:48:54  Show Profile  Reply
This is not supported by the current version.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

38616 Posts

Posted - Jun 22 2017 :  19:19:12  Show Profile  Reply
Hi Claudio

It is on the to-do list for a coming update.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

c.basso

Italy
36 Posts

Posted - Jun 23 2017 :  01:13:38  Show Profile  Reply
Ok, thanks.

Claudio
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: