In some cases it’s required to specify the document format manually to guarantee correct output produced by GroupDocs.Parser. The following are the cases when the document format must be specified manually:
Markdown documents MHTML documents OTP documents (OpenDocument Presentation Template) Databases Emails from remote servers Here are the steps to specify the document format for Markup document.
Instantiate the LoadOptions object and pass the document format in LoadOptions(FileFormat) constructor; Create Parser object and call any method....app conholdate.com conholdate.cloud conholdate.app containerize...
This article explains how to add attachment to PDF document with GroupDocs.Merger within your .NET applications....app conholdate.com conholdate.cloud conholdate.app containerize...
Learn how to merge EPUB files, combine EPUB files into one file programmatically in C# language using GroupDocs.Merger for .NET library....app conholdate.com conholdate.cloud conholdate.app containerize...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputGif)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....app conholdate.com conholdate.cloud conholdate.app containerize...
This article demonstrates that how you can specify starting page index (zero based) and the number of pages from this index to save a rasterized PDF...app conholdate.com conholdate.cloud conholdate.app containerize...