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 : Sunday, December 23, 2012 9:08:38 PM(UTC)
razali84

Groups: Registered
Posts: 20


Hi,

need to know how to implement auto focus to image location.

i have an image, once loaded i want the viewer auto focus to somewhere around bottom of page.

can it be done?

i using leadtools v15 c# winform

tq.
 

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, December 24, 2012 5:29:24 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


What do you mean by autofocus? Do you want to zoom specific are of the image? Or do you want to display a specific are of the image (for example display the bottom of the image)?
 
#3 Posted : Sunday, December 30, 2012 3:56:01 PM(UTC)
razali84

Groups: Registered
Posts: 20


Yup,

i want to focus to the specific area such as bottom of page.


tq
 
#4 Posted : Sunday, December 30, 2012 9:15:03 PM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


The following code shows how you can show only the bottom of the image:
===========
...
RasterImageViewer.AutoScroll = true;
RasterImageViewer.ScrollPosition = new Point(X-Position, Y-Position);
===========

If this does not meet your requirement, please let me know.
 
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-2019, Yet Another Forum.NET
This page was generated in 0.096 seconds.