Search found 1 match
- Wed Aug 03, 2022 9:39 pm
- Forum: General discussions
- Topic: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
- Replies: 9
- Views: 19712
Re: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
I figured out the problem with your code.The problem is GetRectCoordinatesOnDocumentInch does not mathematically consider the Zoom amount of the DocumentViewer. Basically if you take the values returned by GetRectCoordinatesOnDocumentInch and divide that by GdViewer. Zoom you will get the correct co...