Building a simple ASP.NET PDF viewer is quite a trivial task. There are tens of different open source projects across the web that offer a quick and free solution to display PDF documents in both ASP.NET MVC and Web Forms. Often a simple implementation of a PDF viewer is all you actually need. But things become a lot more complicated when the viewer needs to meet your customer’s business requirements....Combined with the in-built Digital Rights Management (DRM) features...
Today we will find out how to use GroupDocs’ Ruby SDK. We will create a GroupDocs Signature envelope sample with the Sinatra framework. GroupDocs Signature envelopes are used to prepare documents for Digital signature and managing the signature process.
Setting Up First, create the application folders structure:
your_app/public – for CSS files. your_app/samples – for sample files. your_app/views – for view files, we will use Haml for these. Also we need to create a Gemfile in our project’s root directory with the following content: https://gist....used to prepare documents for digital signature and managing the...
GroupDocs.Redaction Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Redaction Product Family on GroupDocs Blog | Document Aut......a frequent exchange of the digital documents? Do your documents...
Discover how to utilize GroupDocs.Metadata for Python via .NET to extract, update and remove metadata in your applications....information about hidden pages, digital signatures, user comments,...
Discover how to utilize GroupDocs.Metadata for Node.js to extract, update and remove metadata in your applications....information about hidden pages, digital signatures, user comments,...
Detecting the version of a PDF document The following sample of code will help you to detect the PDF version a loaded document and extract some additional file format information.
Load a PDF document Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Document.Pdf.PdfReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } Reading built-in metadata properties To access built-in metadata of a PDF document, please use the DocumentProperties property defined in the DocumentRootPackage class....to obtain information about digital signatures associated with...
Detecting the version of a PDF document The following sample of code will help you to detect the PDF version a loaded document and extract some additional file format information.
Load a PDF document Extract the root metadata package Use the getPdfType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.document.pdf.PdfReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPdf)) { PdfRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getPdfType().getFileFormat()); System.out.println(root.getPdfType().getVersion()); System.out.println(root.getPdfType().getMimeType()); System.out.println(root.getPdfType().getExtension()); } Reading built-in metadata properties To access built-in metadata of a PDF document, please use the getDocumentProperties method defined in the DocumentRootPackage class....to obtain information about digital signatures associated with...
GroupDocs.Watermark Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Watermark Product Family on GroupDocs Blog | Document Aut......manner than digital watermarks used in other digital multimedia...