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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 [IEvolution] Default font height/size?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Maxim Gussev Posted - Jul 23 2016 : 09:25:11
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.







1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 24 2016 : 01:41:53
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