This article shows how to save a file to a specified stream using GroupDocs.Metadata for Python via .NET....Watermark Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Metadata Product...
You can implement ILogger interface from com.groupdocs.redaction.options package. This interface requires to implement three methods:
import com.groupdocs.redaction.options.ILogger; import java.util.ArrayList; /** *
* This is an example of ILogger implementation, tracking count of error messages. *
*/ public class CustomLogger implements ILogger { private ArrayList _errors; private ArrayList _traces; private ArrayList _warnings; public boolean hasErrors() { return _errors.size() > 0; } public CustomLogger() { _errors = new ArrayList(); _traces = new ArrayList(); _warnings = new ArrayList(); } public void error(String message) { _errors....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
Convert all Documents in a directory to Markdown...Watermark Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Markdown / GroupDocs...
Format numeric values, date-time values, and text strings in templates using format strings and functions....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Assembly Product...
Note This feature is supported by version 20.3 or greater. Note The code uses some of the objects defined in The Business Layer. You can set checkbox values to either checked or unchecked in your reports dynamically by taking the following steps:
Add a checkbox content control to your template at a place where you want it to appear in a result Document. By editing content control properties, add a check tag to the title of the checkbox content control using the following syntax....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Assembly Product...
Articles listed in this page explain the common usage scenarios when Documents are stored in a local drive and you want to manage them using GroupDocs.Markdown API...Watermark Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Markdown / GroupDocs...
Following this guide you will learn how to adjust JPG images quality when rendering Documents with Image Viewer by GroupDocs....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root metadata package Extract the native metadata package using BmpRootPackage.BmpHeader Read the BMP header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Bmp.BmpReadHeaderProperties
using (Metadata metadata = new Metadata(Constants.InputBmp)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.BmpHeader.BitsPerPixel); Console.WriteLine(root.BmpHeader.ColorsImportant); Console.WriteLine(root.BmpHeader.HeaderSize); Console.WriteLine(root.BmpHeader.ImageSize); Console.WriteLine(root.BmpHeader.Planes); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
Sometimes you may need to just remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....Watermark Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Metadata Product...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root metadata package Extract the native metadata package using the BmpRootPackage.getBmpHeader method Read the BMP header properties advanced_usage.managing_metadata_for_specific_formats.image.bmp.BmpReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputBmp)) { BmpRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getBmpHeader().getBitsPerPixel()); System.out.println(root.getBmpHeader().getColorsImportant()); System.out.println(root.getBmpHeader().getHeaderSize()); System.out.println(root.getBmpHeader().getImageSize()); System.out.println(root.getBmpHeader().getPlanes()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...