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
 ieinitialize
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
497 Posts

Posted - Dec 31 2016 :  22:47:34  Show Profile  Reply
is there a demo that shows on how to use ieinitialize ? I am trying to add a new transparent layer but I am getting a black layer instead. I read the help but still not working out for me.
Thanks
Pierre

pierrotsc

USA
497 Posts

Posted - Dec 31 2016 :  23:15:49  Show Profile  Reply
I have to add that :
ImageEnVect.layers[ImageEnVect.LayersCurrent].Bitmap.IEInitialize
(ImageEnVect.layers[0].Width, ImageEnVect.layers[0].Height,
clblack,true);
and Delphi is telling me that there are too many variables. It does not like the last Boolean.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 01 2017 :  08:50:50  Show Profile  Reply
TIEBitmap.IEInitialize

Declaration

procedure IEInitialize(iWidth, iHeight: Integer; ABackgroundColor : TColor = clNone); overload;
procedure IEInitialize(iWidth, iHeight: Integer; Transparent: Boolean); overload;

The current version only has 3 parameters Width, Height and Background color OR Width, Height and Transparent. There is no overloaded IEInitialize that has both color and transparency parameters in the current version.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Jan 01 2017 :  13:03:23  Show Profile  Reply
Bill, thank you. I did read the manual but I guess I overlooked the command. Everything is good now.
Happy new Year
Pierre
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: