I am currently evaluating your imaging software for my WPF application.
Everything is looking really good so far and I must compliment you on an excellent product.
In order to use your VintaSoft.Imaging.dll in WPF I had to create a Windows Form Control and run it from there.
I can perform all of the basic functions correctly (next/back, zoom in/out, rotate) except that when I tried to print when I received the following error;
Vintasoft.Imaging.Codecs.DecoderException: Image is locked and cannot be reloaded.
at Vintasoft.Imaging.VintasoftImage.Reload(Boolean imageChanged)
at Vintasoft.Imaging.VintasoftImage.set_RenderingSettings(RenderingSettings value)
at Vintasoft.Imaging.ImageCollection.SetRenderingSettings(RenderingSettings renderingSettings)
at WinFrmCntrl_Viewer_V2.WinFrmCntrl_Viewer1.imagePrintDocument1_BeginPrint(Object sender, PrintEventArgs e)
at System.Drawing.Printing.PrintDocument.OnBeginPrint(PrintEventArgs e)
at Vintasoft.Imaging.Print.ImagePrintDocument.OnBeginPrint(PrintEventArgs e)
at System.Drawing.Printing.PrintDocument._OnBeginPrint(PrintEventArgs e)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at WinFrmCntrl_Viewer_V2.WinFrmCntrl_Viewer1.printToolStripMenuItem_Click(Object sender, EventArgs e)
at WinFrmCntrl_Viewer_V2.WinFrmCntrl_Viewer1.PrintToolStripButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Can you please let me know what settings I should use to enable the Print function to work?
We have fixed some bugs in version 4.3.5.1. Please download the latest evaluation version of VintaSoftImaging.NET SDK from our we site and evaluate it - I think you will not have any problems.
I first tried to automatically reload the image prior to printing but I can't seem to get it right since I end up with a zero count in the image viewer.
In the meantime I have put in a workaround to just disable the print button if an image is rotated but I would like to find a way to either unlock the image(s) for printing or be able to automatically reload them for printing.