Get mouse location when picture box move over GDViewer

Discussions about document viewing.
Post Reply
hardikv
Posts: 43
Joined: Thu Jan 27, 2011 11:46 am

Get mouse location when picture box move over GDViewer

Post by hardikv » Thu Sep 13, 2012 2:38 pm

Hi All,

I have a picture-box on gdviewer which are float through the document on gdviewer.

But i don't get the exact location of mouse on gdviewer. Mouse move(X,Y) co-ordinate take the whole-screen of appliation....there are also some (left,right) spaces available in GDViewer and Document which is displayed inside GDViewer.

so i want below functionality in my application
1. Load pdf file inside GDViewer
2. i have added on picture box inside GDViewer dynamically. so location of that picture box is based on GDViewer (Parent control)
3. i want to move that picture box over GDViewer using drag and drop functionality of gdviewer .

So if anybody has solution so pls relpy me..

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Get mouse location when picture box move over GDViewer

Post by Gabriela » Fri May 17, 2019 2:30 pm

Hi,

You can use Rectangle of Selection feature using the GdPicture14.
Here is the method you may find useful: IsRectEditing

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest