GroupDocs.Watermark for .NET C# API

Remove PPTX Watermarks using C# .NET

Utilize the GroupDocs.Watermark for .NET C# API to effectively remove watermarks from PPTX files, perfect for maintaining the integrity and visual appeal of your presentations.

Programmatically Remove Watermarks from Pptx Documents using .NET

GroupDocs.Watermark empowers .NET developers to programmatically remove watermarks from various Pptx documents. This guide outlines the process:

  1. Initiate the workflow by supplying your Pptx file as an argument to the Watermarker class constructor. The file can be provided as either a byte stream, a file stream, or a reference to a local disk location.
  2. Leverage the power of the SearchCriteria object to identify the specific watermarks requiring removal. This object enables the filtering of watermarks based on properties previously embedded within the document. You can utilize an image as a search parameter alongside text or formatting attributes for a highly granular search.
  3. Following a successful search, you’ll receive a collection of relevant watermarks. These watermarks offer granular control, allowing you to perform the removal operation.
  4. Upon completion of watermark removal, persist the modified document. The API facilitates storage using either a local file path or a stream object.
// Remove image watermark in PPTX document

// Instantiate Watermarker passing PPTX document
using (Watermarker watermarker = new Watermarker("input.pptx"))
{
    // Remove watermarks which were found in the document
    SearchCriteria searchCriteria = new ImageDctHashSearchCriteria(logo.png);
    PossibleWatermarkCollection watermarks = watermarker.Search(searchCriteria);
    possibleWatermarks.Remove(watermarks[0]);

    // Save the document
    watermarker.Save("output.pptx");
}
dotnet add package GroupDocs.Watermark
click to copy
copied
More examples Documentation

Advanced Watermark Removal with C# .NET API | GroupDocs.Watermark

Unlock advanced watermark removal capabilities with our C# .NET API. Designed for seamless integration with .NET applications, this API facilitates the removal of watermarks from PDFs and Office documents, ensuring high-quality, unmarked outputs for professional use.

Remove Watermark

Precision Watermark Removal in .NET

Our C# API is engineered to provide precise watermark removal, ensuring that your documents retain their original quality and format. Ideal for legal, educational, and professional documents where clarity and authenticity are crucial.

Automate Watermark Deletion by C#

Enhance your application’s efficiency with automated watermark deletion capabilities. Our API allows for the processing of extensive document batches, facilitating large-scale operations without compromising performance.

Edit and Clear Watermarks Dynamically

Gain the flexibility to dynamically edit or completely remove watermarks as per your application’s needs. This feature supports various customization options, enabling .NET developers to maintain document aesthetics and integrity under varying requirements.

Presentation background watermark remove

This example shows how to remove the background image of a particular slide.

C#


    //  Load presentation
    var loadOptions = new PresentationLoadOptions();
    using (Watermarker watermarker = new Watermarker("source.pptx", loadOptions))
    {
        //  Get presentation content
        PresentationContent content = watermarker.GetContent<PresentationContent>();

        //  Remove slide background watermark
        content.Slides[0].ImageFillFormat.BackgroundImage = null;

        //  Save document
        watermarker.save("result.pptx");
    }

GroupDocs.Watermark for .NET C# library

The GroupDocs.Watermark for .NET C# library offers comprehensive tools for managing watermarks in PowerPoint presentations. Whether you need to remove, edit, or adjust watermarks, this API provides precise control over slide elements, ensuring professional-quality presentations for business, education, and more.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Watermark for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Enhancing PowerPoint Presentations with C# .NET

Explore how the GroupDocs.Watermark for .NET C# API can help you manage and remove watermarks from PPTX files, ensuring impactful and professional presentations.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English