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 : Thursday, April 5, 2007 10:59:39 PM(UTC)

aspire  
aspire

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
 

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 : Monday, April 9, 2007 5:49:51 AM(UTC)

Adnan Ismail  
Guest

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)

aspire  
aspire

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.

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