Search found 1 match

by benkayle9
Wed Apr 13, 2022 7:10 am
Forum: General discussions
Topic: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
Replies: 9
Views: 19812

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...