This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, April 5, 2007 10:59:39 PM(UTC)
Groups: Registered
Posts: 13
Hello,
Raster Imaging Pro V15
VC++
In my project , I used "LBitmapWindow" class. Now I want to set the bitmap's destination rectangle. But I found the Comments in “SetDstRect" function that "This function is not working while being called from the classes LBitmapWindow" .
How can I do?
Thanks
aspire
#2
Posted
:
Monday, April 9, 2007 5:49:51 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Aspire,
If you want to change the destination rectangle to control
the scroll position, you can do it as follows:
1. When you have the scroll position you want to save:
m_LBitmapWnd.GetRects(NULL, NULL, &dr, NULL); //only
want the dest rect.
2. When you want to scroll to the old position:
m_LBitmapWnd.ScrollTo(-dr.left, -dr.top);
#3
Posted
:
Tuesday, April 10, 2007 3:59:06 PM(UTC)
Groups: Registered
Posts: 13
Hello,
Thanks for you reply.
I'll try it.
aspire
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.