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
 timageenmview and textout
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jmalloy3

USA
1 Posts

Posted - Sep 19 2015 :  20:41:06  Show Profile  Reply
I used:

imageenmview1.Proc.TextOut(Align_Text_Horz_Center, imageenmview1.ImageHeight[fr]-85, 'Controlled for Router: ', 'Arial', 40, clBlack, [fsBold]);

It adds the text to Frame 0. How do I add text to the other frames?

xequte

38517 Posts

Posted - Sep 19 2015 :  20:44:37  Show Profile  Reply
Hi

// Add text to all images in the TImageEnMView
ImageEnMView1.LockUpdate;
for i := 0 to ImageEnMView1.ImageCount - 1 do
begin
  ImageEnMView1.SelectedImage := i;
  ImageEnMView1.Proc.TextOut( Align_Text_Horz_Center, imageenmview1.ImageHeight[ i ]- 85, 'Controlled for Router: ', 'Arial', 40, clBlack, [ fsBold ] );
end;
ImageEnMView1.SelectedImage := 0;
ImageEnMView1.UnlockUpdate;


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: