Hi Reva,
Hi Reva,
Hi Reva,
Hi Aziz,
Hi Reva,
Hi Aziz,
Hi Reva,
We are pleased to see your progress with GroupDocs.Viewer.
I’m providing inline answers to your questions.
-
Document Security:
Check whether the document is password-protected, encrypted, signed, or merge-restricted when saving or loading for viewing.For password-encrypted documents, the API allows setting the password before rendering the document (see this). If the user doesn’t provide the password, the API will throw an exception stating that the document is password-encrypted. We’ve also logged a new feature request to dynamically check encrypted, signed, or merged documents at runtime. We’ll keep you updated on it.
-
Zoom Feature in the New Frontend:
The zooming feature is not provided by the GroupDocs.Viewer API itself. It is implemented using jQuery in the ASP.NET MVC Front End and ASP.NET Web Forms Front End. As these applications are open source, you can refer to them for implementing this feature in the New Front End.
If anything is still unclear or if you have further questions, feel free to let us know.
Warm Regards
Hi Reva,
ViewerConfig viewerConfig = new ViewerConfig();
viewerConfig.StoragePath = Directory.GetCurrentDirectory();ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(viewerConfig);
try
{
string guid = “password-protected.docx”;DocumentInfoContainer documentInfoContainer = htmlHandler.GetDocumentInfo(guid); Console.WriteLine(<span class="code-quote" style="color: rgb(0, 145, 0);">"Document is not password <span class="code-keyword" style="color: rgb(0, 0, 145);">protected</span>."</span>);
}
catch (PasswordProtectedFileException)
{
Console.WriteLine(“Document is password protected.”);
}
<span style=“font-family: “Times New Roman”; white-space: normal;”>
Furthermore, there are no plans yet to implement the ability to check whether the document is Signed or Merged in the nearest future.
If you have any other question, please feel free to ask.
Warm Regards
Hi Aziz,
Thanks for the update the only main thing which is missing in your tool is delete functionality.
Hi Reva,
- The scenario for delete functionality is
I upload a pdf document with 10 pages and I want to delete 2 pages out of it.2. I want to capture that the user has clicked reorder,rotate,etc.My question is I know we don't have delete functionality in Groupdocs.viewer do you have it in Groupdocs.Total?Or is it a new functionality that you want to add to any of the API’s
Can you please say which of your API supports all these functionalities
1. View
2. Zoom In/Out
3. Rotate
4. Reorder
5. Delete pages (out of 10 pages in pdf document should be able to n pages)
6. Check the document is password protected.
7. Check the document is encrypted.
8. Check the document has any bookmark.
9. Check the document has any attachment.
Save the document in the any location.
Check if the document is a Signed document.
Check if the document is a Merged document or not.(this is not mandatory)
ThanksReva
Hi Reva,