groupdocs-free-consulting / projects

0 stars 0 forks source link

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

Closed olibara closed 2 years ago

olibara commented 2 years ago

Please check if it satisfies the following requirements:

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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

Thanks a lot

Therefore it is more a converter than a viewer

I will use something more light as PdfiumViewer

From: Vladimir Litvinchik @.> Sent: Friday, July 22, 2022 11:45 AM To: groupdocs-free-consulting/projects @.> Cc: olibara @.>; Mention @.> Subject: Re: [groupdocs-free-consulting/projects] I want to simply view PDF in csharp WinForm using groupdoc nugget (Issue #25)

@olibara https://github.com/olibara

Please take a look at our WinForms Demo https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Demos/WinForms . 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.

— Reply to this email directly, view it on GitHub https://github.com/groupdocs-free-consulting/projects/issues/25#issuecomment-1192387724 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUNGX42DQFAWO4TXXK2LRDVVJUQ7ANCNFSM54KE3HJA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACUNGX4JGWAQFO22XJTJR2LVVJUQ7A5CNFSM54KE3HJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4JGJDA.gif Message ID: @. @.> >

vladimir-litvinchik commented 2 years ago

@olibara

You're welcome!