Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
we are planning to develop a new project in wpf which is used a local custom maps (land plotting maps) just like demographic maps , which i used a coral draw file or pdf , can i convert the file location or points or co-ordinates to clickable events(buttons) which may show details or editable the facts .

can nay one give the suggestion or provide the example

What I have tried:

we are planning to develop a new project in wpf which is used a local custom maps (land plotting maps) just like demographic maps , which i used a coral draw file or pdf , can i convert the file location or points or co-ordinates to clickable events(buttons) which may show details or editable the facts .

can nay one give the suggestion or provide the example
Posted
Updated 31-Oct-20 4:32am
Comments
Richard MacCutchan 31-Oct-20 9:55am    
[no name] 31-Oct-20 10:31am    
Yes. You can define hit points in WPF on your controls. You can also use a browser control and have hit point on HTML pages.

1 solution

Hit Testing in the Visual Layer - WPF .NET Framework | Microsoft Docs[^]

Hit Testing - W3C Wiki[^]

(My own solution allows users to paste an image (floor plan) from the clip board, which is overlayed with a grid that has a transparent background, over which the user can draw / designate rooms, etc.)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900