Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to simply view PDF in csharp WinForm using groupdoc nugget #25

Closed
olibara opened this issue Jul 22, 2022 · 4 comments
Closed

I want to simply view PDF in csharp WinForm using groupdoc nugget #25

olibara opened this issue Jul 22, 2022 · 4 comments

Comments

@olibara
Copy link

olibara commented Jul 22, 2022

Please check if it satisfies the following requirements:

  • It is a small project satisfying a particular scenario
  • It is related to GroupDocs APIs
  • It takes 8 or less hours for us to complete
  • It is not a bug
  • It is not a feature request

If your requirement is actually a bug in our APIs or a feature request for our APIs then please use our forum to report it and get quick help: https://forum.groupdocs.com/

If all the above requirements are satisfied then please move on:

< describe your free consulting project requirements briefly>

< which platform you're working on -- operating system, development environment etc.>

@olibara
Copy link
Author

olibara commented Jul 22, 2022

I'm using .NET 4.6
The doc is not really explicit
I've tried this but it doesn't show anything

using (Viewer viewer = new Viewer("c:/tmp/RIT_Belcotex_4-3.pdf"))
{
// set PDF file security

    PdfViewOptions options = new PdfViewOptions();
    viewer.View(options);
  }
  So is groupdoc the right tools for that purpose (i do not want to convert, edit etc .. : simply view document )?

@vladimir-litvinchik
Copy link

@olibara

Please take a look at our WinForms Demo. It is just a simple application that demonstrates basic Viewer capabilities.

The code you've provided loads PDF document and outputs PDF document without any changes. You can think of GroupDocs.Viewer as of a function that accepts a file on the input and produces the output in a desired format PNG/JPEG/HTML/PDF.

Please let us know if you have any questions and we'll try to assist you.

@olibara
Copy link
Author

olibara commented Jul 22, 2022 via email

@vladimir-litvinchik
Copy link

@olibara

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants