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
 ImageEnVect Layers Bring To Top
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

andyhill

Australia
133 Posts

Posted - Mar 22 2017 :  16:20:35  Show Profile  Reply
My ievFront (ImageEnVect) needs to be initialized as my drawing points are larger than the default, I hope this is the correct way:-

ievFront.Proc.ImageResize(1920, 2720);

Now, after initialization I want to add a new layer and brig it to the top (front):-

FrontBodyLayer:= ievFront.LayersAdd;
ievFront.Layers[FrontBodyLayer].Bitmap.Width:= ievFront.IEBitmap.Width;
ievFront.Layers[FrontBodyLayer].Bitmap.Height:= ievFront.IEBitmap.Height;
ievFront.Layers[FrontBodyLayer].Visible:= True;

Please advise how to set ImageEnVect drawing size - thanks in advance.



Andy

xequte

38176 Posts

Posted - Mar 22 2017 :  21:40:01  Show Profile  Reply
Hi Andy

Why not just call:

FrontBodyLayer:= ievFront.LayersAdd( ievFront.IEBitmap.Width, ievFront.IEBitmap.Height );


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: