in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

mouse coordinates to page coordinates

Last post 04-02-2008 11:51 PM by C1_Dima. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-02-2008 11:58 AM

    mouse coordinates to page coordinates

    In the .NET Preview control, how can I determine where on a document page (in inches) the mouse is positioned?

     

  • 04-02-2008 11:51 PM In reply to

    Re: mouse coordinates to page coordinates

    Use the C1PrintPreviewControl.PreviewPane.ClientToDocument method. Attached is a sample. For a more elaborate example, see the ObjectCoordinates sample shipped with C1Preview. Thanks.

    Cheers,
    Dima.
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.