Hi,
we have a serious problem when using your PDF SDK.
We built a viewer with your controls. So far it works really nice.
Unless you zoom in. The program crashes when we zoom into a pdf several times (800%) because of the high memory comsumption.
Patagames.Pdf
at Patagames.Pdf.Net.PdfBitmap..ctor(IntPtr handle)
at Patagames.Pdf.Net.PdfBitmap.Clone(FX_RECT clip)
at Patagames.Pdf.Net.Controls.WinForms.PdfViewer.DrawPage(Graphics graphics, PdfPage page, Rectangle actualRect)
at Patagames.Pdf.Net.Controls.WinForms.PdfViewer.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

We tried the Forms and the WPF control, same results.
Each zoom increases the memory usage.
This also happens while scrolling within the viewer when it is zoomed.
How can we solve this?