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
 Transparent Background ImageEnView

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
AV4 Posted - Mar 11 2012 : 23:18:46
I use ImageEnView with Align=alClient and want to make transparent background of image. Is it possible?
4   L A T E S T    R E P L I E S    (Newest First)
AV4 Posted - Mar 12 2012 : 01:29:49
My form uses the skins with some internal backgrounds
I want to see it through the background of the image background
fab Posted - Mar 12 2012 : 01:17:07
Ooops, maybe I did not understand the question!
AV4 Posted - Mar 12 2012 : 00:52:01
thx for reply :)
now i solved problem like this:

//pnlActive - TPanel (Align=alClient)
//ievActive - TImageEnView (Align=alNone, parent = pnlActive)
procedure RealignImage;
begin
  ievActive.LockPaint;
  ievActive.Width := pnlActive.Width;
  ievActive.Height := pnlActive.Height;

  if (actFit.Checked = true) then
    if ((ievActive.Bitmap.height > ievActive.height) or
      (ievActive.Bitmap.width > ievActive.width)) then
      ievActive.Fit
    else
      ievActive.Zoom := 100;

  ievActive.Width := ievActive.IdealComponentWidth - 1;
  ievActive.Height := ievActive.IdealComponentHeight - 1;
  ievActive.Left := (pnlActive.Width - ievActive.Width) div 2;
  ievActive.Top := (pnlActive.Height - ievActive.Height) div 2;

  ievActive.UnLockPaint;
end;
fab Posted - Mar 12 2012 : 00:07:30
ImageEn supports transparency over its background. It is not possible to make the component itself transparent (respect to the parent form).