This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, September 2, 2009 5:22:30 AM(UTC)
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
#2
Posted
:
Thursday, September 3, 2009 1:00:26 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
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.