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....Extract the root metadata package Use the property to obtain...
The page describes how to load PDF, Word, Excel, PowerPoint documents from Amazon S3 storage when using GroupDocs.Annotation for .NET....return stream ; } } Note NOTE: Packages AWSSDK.S3 version 3.3.104...
For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.ImageReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPng)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); 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); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Extract the root metadata package Use the property to obtain...
دعونا نتعلم كيفية إضافة علامة مائية نصية إلى RTF باستخدام C#. علاوة على ذلك، ستتلقى مثالاً للتعليمات البرمجية يوضح كيفية إدراج علامة مائية نصية في RTF في لغة C#....القيام بذلك باستخدام NuGet Package Manager داخل Visual Studio...
Sužinokime, kaip pridėti tekstinį vandens ženklą prie RTF naudojant C#. Be to, gausite kodo pavyzdį, kuriame parodyta, kaip C# įterpti tekstinį vandens ženklą į RTF....galite padaryti naudodami NuGet Package Manager, esančią Visual Studio...
Změňte pořadí stránek souborů Word pomocí C#. Spuštěný příklad ukazuje, jak změnit pořadí stránek v souborech DOC/DOCX pomocí rozhraní .NET API.... PM> Install-Package GroupDocs.Merger Přesunout...