Search found 21 matches
- Fri Jul 17, 2015 7:41 am
- Forum: General discussions
- Topic: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
- Replies: 9
- Views: 19832
Re: One of either Get/SetRectCoordinatesOnDocumentInch has a
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...
- Fri Jul 17, 2015 4:19 am
- Forum: General discussions
- Topic: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
- Replies: 9
- Views: 19832
One of either Get/SetRectCoordinatesOnDocumentInch has a bug
In our application, we allow the user to define a rectangle on a PDF document using the WPF GdViewer control. When we use SetRectCoordinatesOnDocumentInch, and immediately call GetRectCoordinatesOnDocumentInch, the coordinates returned to not match what was passed to set. Here is some sample data. d...
- Wed Jun 10, 2015 11:46 pm
- Forum: Document Viewing
- Topic: Where is ForceTemporaryModeForImage in the WPF viewer?
- Replies: 1
- Views: 5939
Where is ForceTemporaryModeForImage in the WPF viewer?
How do we force the WPF viewer to view temp images so it does not lock the source file? This is preventing me from burning annotations and modifying the original images.
Suggestions?
Suggestions?
- Mon Jun 08, 2015 4:19 pm
- Forum: General discussions
- Topic: WPF GdViewer throws a NullReferenceException
- Replies: 4
- Views: 5113
Re: WPF GdViewer throws a NullReferenceException
It turned out that when using the MVVM pattern, you must ensure you are calling the view document api after the view has been fully initialized. In this case, the solution was the extract an interface from the view-model and call the view document api after the GdViewer has been fully loaded.
- Tue May 19, 2015 3:34 pm
- Forum: General discussions
- Topic: WPF GdViewer throws a NullReferenceException
- Replies: 4
- Views: 5113
Re: WPF GdViewer throws a NullReferenceException
I am on version 11.1.0.14.
- Tue May 12, 2015 6:13 pm
- Forum: General discussions
- Topic: WPF GdViewer throws a NullReferenceException
- Replies: 4
- Views: 5113
WPF GdViewer throws a NullReferenceException
I'm having a problem where the new viewer is throwing a NullReferenceException when displaying a PDF. I attached the PDF in question to the post. The PDF is converted from a TIFF image and opens fine in all viewers, and it is converted by using GdPicture. I can't really debug this because you obfusc...