While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?

Styling with Markdown is supported

Original Comment

Gravatar

Richard Moss

# Reply

Hello,

Thanks for your comments, I'm glad you're finding the code useful.

In regards to your first comment - I assume you're talking about another article on this site which describes how to use the ImageBox + GhostScript in order to display PDF's? It should be perfectly possibly to get a Task to do this work, just modify the code that calls the PDF conversion. Not the most helpful answer but off the top of my head I can't remember how I put together the PDF view code!

For comment two, this is an old bug in the ImageBox - did you try the latest version of the code (you can get this from the GitHub page - https://github.com/cyotek/Cyotek.Windows.Forms.ImageBox)

Regards; Richard Moss

Gravatar

Misiu

# Reply

Thanks Richard :) I was using old version of ImageBox that was with CodeProject article. After adding Your control using NuGet and some small changes everything is working fine :)

Btw any news about GhostScriptAPI? at line 659 You have TODO item about wrong combination of params. In my case I get this error when I try to open very large pdf (2900 x 6500 pixels).

Again many thanks for this awesome control and API.

Gravatar

Richard Moss

# Reply

I thought that was the case, glad you're up and running with the latest code now.

In regards to the GhostScript library, the project I was going to use it for has been sitting on the backburner for some time now so I haven't been back to it. It's unlikely that I'll get to it any time soon as I have so many other half complete projects I'd like to get done! Hopefully I'll get the chance to look at it sooner than later though.

Regards; Richard Moss

Gravatar

Misiu

# Reply

Hi again, I did some tests and it looks like error was because I had very long file name with spaces and dashes. After changing name to shorter everything works fine :)

Gravatar

Richard Moss

# Reply

Great, thanks for letting me know! That's something the library could automatically work around with a bit of cleverness... if I ever pick the project up again I'll look into it!

Regards; Richard Moss