Search found 6 matches

by waxwings
Tue Nov 04, 2014 6:21 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Click event on WpfImageViewer
Replies: 10
Views: 3516

Re: Click event on WpfImageViewer

Hi Alex, i have yet another problem. I have some pdf documents, each containing only one page. I open the pdfs one after another, while showing a Rectangular on each of them. Problem is that sometimes the Rectangular shows and sometimes not. It looks like a race condition to me. My codes are like pr...
by waxwings
Tue Nov 04, 2014 6:08 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Click event on WpfImageViewer
Replies: 10
Views: 3516

Re: Click event on WpfImageViewer

Hi Alex,

the MouseClick Event is not available. I would send you the example codes sortly.

Best regards
Yimei
by waxwings
Mon Nov 03, 2014 6:01 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Click event on WpfImageViewer
Replies: 10
Views: 3516

Re: Click event on WpfImageViewer

Hi Alex,

here is my code

Code: Select all

imageViewer.MouseDown += new MouseButtonEventHandler(Pdf_MouseDown);

private void Pdf_MouseDown(object sender, MouseEventArgs e)
{
...
}

Pdf_MouseDown is only triggered by the right mouse click.

Best Regards
Yimei Liao
by waxwings
Mon Nov 03, 2014 5:02 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Click event on WpfImageViewer
Replies: 10
Views: 3516

Re: Click event on WpfImageViewer

hi Alex,

could you please also tell me what ist the measurement of the Point if i get it from the PointToImage method?

Best Regards
Yimei Liao
by waxwings
Mon Nov 03, 2014 1:57 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Click event on WpfImageViewer
Replies: 10
Views: 3516

Re: Click event on WpfImageViewer

Hi Alex,

thanks for the reply. I tried the MouseDown event. It works however only on the right mouse click. I would like to work with the left mouse click event. Is it possible?

Best Regards
Yimei
by waxwings
Fri Oct 31, 2014 7:28 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Click event on WpfImageViewer
Replies: 10
Views: 3516

Click event on WpfImageViewer

Hi Alex,

i would like to catch the click event on a WpfImageViewer with PDF Coordinates (to tell where the user has clicked on a pdf page). Is it possible? I would also like to show some rectangles on the pdf pages programmatically. How can i do that?

Best Regards
Yimei