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
 ImageenMview Text

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
pierrotsc Posted - Nov 19 2018 : 10:26:34
Right now, i see a thumbnail with background, layer 1:image, layer2:image and their sizes.
I would like instead of layer 1:image to show something different.
This is the code i have but it has no effect. Advice ?

  ChannelsView.IOOptionsEx := ChannelsView.IOOptionsEx + [ ieixWantParams ];
  ChannelsView.ImageBottomText[0] := 'RGB';
  ChannelsView.ImageBackground[0] := clMedgray;
  ChannelsView.TopTextFont.Color := clblack;
  ChannelsView.ImageBottomText[1] := 'Red';
  ChannelsView.ImageBackground[1] := clMedgray;
  ChannelsView.ImageBottomText[2] := 'Green';
  ChannelsView.ImageBackground[2] := clMedgray;
  ChannelsView.ImageBottomText[3] := 'Blue';
  ChannelsView.ImageBackground[3] := clMedgray;
  ChannelsView.SelectedImage := 0;
  ChannelsView.Update;


Thanks
Pierre
2   L A T E S T    R E P L I E S    (Newest First)
pierrotsc Posted - Nov 19 2018 : 16:33:45
Thanks Nigel. i was really trying to change the text. I found my answer. I just have to name the layer and it shows correctly. digging in the manual help.
Best
xequte Posted - Nov 19 2018 : 16:16:23
Hi Pierre

The description for ImageBackground is not good. Really ImageBackground is only used for the background color for frames of a GIF image.

What is it you are looking to do?

You'd probably be better to use the OnImageDraw2 event to customize painting of the thumbnail:

https://www.imageen.com/help/TImageEnMView.OnImageDraw2.html

Nigel
Xequte Software
www.imageen.com