This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, December 1, 2005 6:42:18 AM(UTC)
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
#2
Posted
:
Wednesday, December 7, 2005 3:13:02 AM(UTC)
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.