logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
debugexe  
#1 Posted : Wednesday, August 17, 2022 11:26:49 PM(UTC)
debugexe

Rank: Newbie

Groups: Registered
Joined: 8/14/2022(UTC)
Posts: 1
Korea, Republic Of
Location: seoul

Quote:

<Grid Name="mainGrd">

<Grid Name="viewerGrid">
<Wpf:PdfViewer SizeMode="FitToSize" />
</Grid>

<Grid Name="canvasGrid">
.....
</Grid>

</Grid>


I'm currently using Telerik's pdfViewer.
However, there is a problem that Telerik Viewer does not properly import pdf documents, so I want to change it to patagames.

In Telerik Viewer, if you want to enlarge the magnification, if you adjust the "ScaleTransform" value of "mainGrid", the whole is enlarged, and the pdf is also displayed well without deterioration in quality.
However, the viewer of patgames degrades the quality of the pdf document.
So, "canvasGrid" sets the scale with "ScaleTransform", and pdfViewer sets the size as much as the changed scale.
As a result, the document is displayed without deterioration in image quality.
The problem is that when the size of the pdfViewer grows, it uses a lot of memory, which causes an "out of memory" error.

Is there any workaround for this?
Or do I have to write all the objects in the pdf document as WPF elements?

Edited by user Wednesday, August 17, 2022 11:27:49 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.