larkante Posted December 3, 2017 Share Posted December 3, 2017 Hi friends, Is there a way to get an image of form an put in a uniImage, like a print screen of the form? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 3, 2017 Share Posted December 3, 2017 Hi, Which edition and build are you using? Best regards, Quote Link to comment Share on other sites More sharing options...
Kamyar Posted April 10, 2020 Share Posted April 10, 2020 I have two image in any platform of UniGui, TUniImage or TUniPanel or UniCanvas etc Now I must merge two images in one. Anybody knows? like below (in VCL) =================== procedure MergeToImages(img1, img2 : TImage; x, y : integer); // merging img2 in x, y position of img1 in length of in 100px Rect var DstRect : TRect; begin img1.Canvas.CopyMode := cmSrcAnd; DstRect := Rect(x-100, y-100, X+100, Y+100); img1.Canvas.CopyRect(DstRect, img2.Canvas, DstRect); end; thanks Quote Link to comment Share on other sites More sharing options...
Kamyar Posted April 10, 2020 Share Posted April 10, 2020 I can find the solution for TUniImage: The canvas is in the TUniImage.picture.bitmap instead of TImage.canvas But in the TUnipanel it dosent work and you can not changed the picture of the backgraund property of UniPanel! think this is because that TUniPanel is in client side and server can not edit that. if anyone have a solution for TUnipanel i will be very happy to know that. Teşekkürler. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.