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 : Wednesday, August 8, 2007 6:18:37 PM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


In 13, we could set tooltip text for viewer control. But in 15 (using with c#) there is no way to set tooltip text for viewer(rasterimageviewer) or annotations.

How can we do this using c#.

Thanks,
Suresh
 

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 : Sunday, August 12, 2007 2:50:39 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

If you mean that you want to set ToolTip text for Annotation toolbar buttons, you can do this by using the AnnAutomationObject.ToolBarToolTipText property.
This property gets or sets the text that appears as a ToolTip for this AnnAutomationObject toolbar button.

For more information, please read the following topics in the LEADTOOLS .Net documentation:
- ToolBarToolTipText Property 
- Annotation Toolbar.
- AnnAutomationManager Class

If you mean something else, please let me know.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Monday, August 13, 2007 9:52:00 AM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


Hi Maen,

I want to be able to set tooltip for annotation objects (for ex: rectangles). When a user moves mouse on to a rectangle (or other object), i want to show the tool tip (let's say the rectangle's width). How can we do this?
 
#4 Posted : Tuesday, August 14, 2007 9:56:26 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

This feature is not currently implemented LEADTOOLS v15.

If you would like to ask our engineers to add it, you can submit a feature request using the following web form:
http://www.leadtools.com/DevServices/Feature-Request.htm

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#5 Posted : Friday, November 14, 2014 5:34:18 AM(UTC)
johnreichert

Groups: Registered
Posts: 47


Hi - is this feature available in version 17 of Leadtools?
 
#6 Posted : Sunday, November 16, 2014 10:07:21 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

I want to check this issue on my side, so please provide me with the following information:
1. Are you using LEADTOOLS v17.0 or v17.5?
2. What is the programming language (C#, VB.NET, etc.) that you use?
3. What is the build number (file version info) of Leadtools.dll that you use?
4. What is the Visual Studio version (2005, 2008, 2010, 2012, 2013, etc.) that you use?
5. What is the Target Framework (2.0, 3.0, 3.5, 4.0, etc.) of your application?
6. Provide me with more details about what exactly you are looking to accomplish.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#7 Posted : Monday, November 17, 2014 5:53:53 AM(UTC)
johnreichert

Groups: Registered
Posts: 47



Thank you for your response, here are answers to your questions:

1. Are you using LEADTOOLS v17.0 or v17.5?

17.0

2. What is the programming language (C#, VB.NET, etc.) that you use?

VB.NET

3. What is the build number (file version info) of Leadtools.dll that you use?

17.0.0.73

4. What is the Visual Studio version (2005, 2008, 2010, 2012, 2013, etc.) that you use?

2010

5. What is the Target Framework (2.0, 3.0, 3.5, 4.0, etc.) of your application?

3.5

6. Provide me with more details about what exactly you are looking to accomplish.

I would like to provide information to the user when they hover the cursor over the annotation - for example, the user name in my application's database of the user that authored the annotation.
 
#8 Posted : Tuesday, November 18, 2014 10:15:02 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

I am attaching a small VB.NET 2010 LEADTOOLS NET 3.5 v17.0 project that shows how you can show a tooltip when the user hover the cursor over the annotation object.

Instructions to use the project:
===============
1. Open the project using VS 2010.
2. Make sure the path of the image is correct in the code.
3. Run the project.
4. Click the Load button to load the default image.
5. Select the annotation object that you want to draw from the toolbar (Annotation Rectangle for example).
6. Draw the object on the image.
7. Check the "Perform Hit Testing" check box.
8. Move the mouse cursor to the borders of the Rectangle object.
9. A tooltip should appear that contains the type of the annotations object (this applies for all types of annotations objects).
===============

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
VBNetAnnHitTest17.zip (115kb) downloaded 40 time(s).
 
#9 Posted : Wednesday, November 19, 2014 6:19:24 AM(UTC)
johnreichert

Groups: Registered
Posts: 47


Thanks, that gets me pointed in the right direction.  Users may find it confusing to toggle manually between Design and Run modes to see the tool tip.  You can eliminate the need to toggle modes by removing the condition "AndAlso checkHitTest.Checked" in the _viewer_MouseMove procedure.  However, when you remove that condition resizing and rotating get a little quirky.  I will keep experimenting.
 
#10 Posted : Thursday, November 20, 2014 4:25:09 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

In your last reply, you mentioned the following:
"However, when you remove that condition resizing and rotating get a little quirky".

Can you provide me with more details about this problem?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#11 Posted : Friday, November 21, 2014 10:08:41 AM(UTC)
johnreichert

Groups: Registered
Posts: 47


The annotations flicker quite a bit during edit.  If you resize an annotation then let go of the mouse button without moving the mouse the annotation does not change sizes until you move the mouse.  Its a little difficult to explain.  I would recommend you made the code change I described and try it yourself.
 
#12 Posted : Sunday, November 23, 2014 3:52:32 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

I think the problem appears because the tooltip steals the focus from the annotation object while resizing. I fixed this issue in the code by force hiding the tooltip while resizing the annotation object. I am attaching the modified demo.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
VBNetAnnHitTest17_v2.zip (116kb) downloaded 41 time(s).
 
#13 Posted : Wednesday, November 26, 2014 3:56:44 AM(UTC)
johnreichert

Groups: Registered
Posts: 47


This looks very promising.  I am going to experiment with it some more.  Thanks!
 
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.238 seconds.