Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, September 2, 2009 5:22:30 AM(UTC)
victorsow

Groups: Registered
Posts: 5


I am using v.15 and MSVC Classlib, I would like to draw consecutive region one after another..just like demo DocClean..When I draw one region and try for another region the first region which was drawn already is deleted automatically ..I would like to have all the region which draw on the image one after another when press SHIFT, just like demo DocClean, please give me some suggestion or how could I get the code of demo DocClean.

Thanks in advance!

Victor
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, September 3, 2009 1:00:26 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

After creating the first region, you need to set the region combine mode to L_RGN_OR by using the LBitmapRgn::SetRgnCombineMode method.
For more information, please see the following help topics in the LEADTOOLS Raster Imaging C++ Class Library Help file:
- LBitmapRgn::SetRgnCombineMode
- Creating a Bitmap Region

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.223 seconds.