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
 [IEvolution] Default font height/size?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Maxim Gussev

USA
4 Posts

Posted - Jul 23 2016 :  09:25:11  Show Profile  Reply
Good morning all,

For example, I am creating a text label object:
self.TextHandle := ie.AddNewObject(iekLineLABEL...
ie.ObjText[IEV_PREVIOUS_INSERTED_OBJECT] := 'Some text...';
etc...

The text will have some default size.
To change it, I have to use ObjFontHeight property.

Where the default size come from? Is there any value I may change?
I would like to use some pre-defined font size for all labels/text (and do not change it in every object.


Thank you in advance!
Maxim.







xequte

38615 Posts

Posted - Jul 24 2016 :  01:41:53  Show Profile  Reply
Hi

You can use IEV_NEXT_INSERTED_OBJECT as the index for the next object that is added, e.g.

ImageEnVect1.ObjFontHeight[ IEV_NEXT_INSERTED_OBJECT ] := 28;

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