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, December 1, 2005 6:42:18 AM(UTC)

Partha  
Partha

Groups: Registered
Posts: 1


Sir,

I want to do the Automatic scroll of the RasterImageViewer with the customized value of x and y coordinates. I am supplying those x and y coordinates programatically.

I am facing another problem and this problem is something like that When I am drawing a rectangle on the Image in RasterImageViewer then it's OK. But when I press the horizontal or vertical scrollbar then that rectangle dissappears.

Pls, Help me.

 

Thanx,

Partha

 

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 : Wednesday, December 7, 2005 3:13:02 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

What is the exact programming interface that you use?
However, if you are using .Net programming interface, then please provide me with the following information:
- How exactly do you draw the rectangle on the RasterImageViewer control?
- What is the exact function that you use to draw the rectangle?

However, if you use the following code to draw the rectangle, do you get the same problem?
+--------------------------------------------+
RasterImageGdiPlusGraphicsContainer container = rasterImageViewer1.Image.CreateGdiPlusGraphics();
container.Graphics.SmoothingMode = SmoothingMode.HighQuality;
Brush br = new LinearGradientBrush(Point.Empty, new Point(200, 200), Color.Red, Color.Yellow);
Font font1 = new Font("Lucida Console",3.11f);
PointF point1 = new PointF(100,100);
container.Graphics.DrawRectangle(new Pen(Color.Yellow,3),20,20,100,100);
+--------------------------------------------+

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-2024, Yet Another Forum.NET
This page was generated in 0.063 seconds.