Following code snippet shows how to add text watermark to a document. If the document consists of multiple parts (pages, worksheets, slides, frames etc), the watermark will be added to all of them.
advanced_usage.adding_text_watermarks.AddTextWatermark
// Specify an absolute or relative path to your image. Ex: "C:\\Docs\\image.png" Watermarker watermarker = new Watermarker("image.png"); // Initialize the font to be used for watermark Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); // Create the watermark object TextWatermark watermark = new TextWatermark("Test watermark", font); // Set watermark properties watermark....Following code snippet shows how to add text watermark to a document. If the document consists of multiple parts (pages, worksheets, slides, frames etc), the watermark will be added to all of them.
advanced_usage.adding_text_watermarks.AddTextWatermark
// Specify an absolute or relative path to your image. Ex: "C:\\Docs\\image.png" Watermarker watermarker = new Watermarker("image.png"); // Initialize the font to be used for watermark Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); // Create the watermark object TextWatermark watermark = new TextWatermark("Test watermark", font); // Set watermark properties watermark.
This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of C# code....This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of C# code.
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of WordProcessing documents such as DOC, DOCX, ODT, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded document and extract some additional file format information.
Load a WordProcessing document Extract the root metadata package Use the getWordProcessingType method to obtain file format information advanced_usage....GroupDocs.Metadata for Java provides functionality that allows working with different kinds of WordProcessing documents such as DOC, DOCX, ODT, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded document and extract some additional file format information.
Load a WordProcessing document Extract the root metadata package Use the getWordProcessingType method to obtain file format information advanced_usage.
This article shows how to access IPTC metadata in a file of any supported format....This article shows how to access IPTC metadata in a file of any supported format.
Reading matroska format-specific properties The GroupDocs.Metadata API supports extracting format-specific information from MKV files.
The following are the steps to read native MKV metadata.
Load an MKV video Get the root metadata package Extract the native metadata package using the MatroskaRootPackage.getMatroskaPackage method Read the Matroska metadata properties on different levels of the format structure advanced_usage.managing_metadata_for_specific_formats.video.matroska.MatroskaReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputMkv)) { MatroskaRootPackage root = metadata.getRootPackageGeneric(); // Read the EBML header System....Reading matroska format-specific properties The GroupDocs.Metadata API supports extracting format-specific information from MKV files.
The following are the steps to read native MKV metadata.
Load an MKV video Get the root metadata package Extract the native metadata package using the MatroskaRootPackage.getMatroskaPackage method Read the Matroska metadata properties on different levels of the format structure advanced_usage.managing_metadata_for_specific_formats.video.matroska.MatroskaReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputMkv)) { MatroskaRootPackage root = metadata.getRootPackageGeneric(); // Read the EBML header System.
Convert text files to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API. Learn how to render various file formats....Convert text files to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API. Learn how to render various file formats.
GroupDocs.Viewer for Java provides different plans for purchase or offers a Free Trial and a 30-day Temporary License for evaluation....GroupDocs.Viewer for Java provides different plans for purchase or offers a Free Trial and a 30-day Temporary License for evaluation.