Skip to content

Instantly share code, notes, and snippets.

private static void AddLockedHeaderWatermark()
{
Console.WriteLine("Adding locked header watermark...");
var loadOptions = new WordProcessingLoadOptions();
using (var watermarker = new Watermarker(InputFile, loadOptions))
{
var watermark = new TextWatermark("Company Confidential", new Font("Arial", 19))
{
VerticalAlignment = VerticalAlignment.Center,
@GroupDocsGists
GroupDocsGists / README.md
Last active July 8, 2025 11:28
How to merge PowerPoint presentations in Node.js

Merge PowerPoint Presentations in Node.js

Want to streamline your merge presentation tasks in Node.js? Below is a friendly, step-by-step guide that uses concise code snippets to show how to combine pptx files effortlessly.

📦 Prerequisites

🧩 Key Capabilities

@GroupDocsGists
GroupDocsGists / README.md
Last active July 8, 2025 11:20
How to merge PowerPoint presentations in Python

Merge PowerPoint Presentations in Python

In this snippet, you’ll discover how to merge PowerPoint presentations leveraging a concise Python example to help you streamline your presentations effectively. Whether you want to combine PPTX files or handle various formats, this guide will give you the foundation you need.

📦 Prerequisites

To get started, ensure you have the necessary packages installed. You will need to install GroupDocs.Merger to work with PowerPoint files in Python. Note that you can download a free trial of GroupDocs.Merger and use a temporary license for unrestricted usage. This works for PPTX, PDF, and many other document formats.

🧩 Key Features

  • Effortlessly merge documents: Combine multiple PowerPoint presentations into one cohesive file.
  • Support for various file types: Easily handle multiple forma
@GroupDocsGists
GroupDocsGists / MergePptx.java
Last active July 8, 2025 11:09
How to merge PowerPoint presentations in Java
import com.groupdocs.merger.Merger;
import com.groupdocs.merger.examples.Constants;
import java.io.File;
/**
* This example demonstrates how to merge multiple PPTX files into single file.
* For more details about merging PowerPoint Open XML Presentation (.pptx) files please check this documentation article
* https://docs.groupdocs.com/merger/java/merge/powerpoint/
*/
@GroupDocsGists
GroupDocsGists / MergePptx.cs
Last active July 8, 2025 11:07
How to merge PowerPoint presentations in C#
using System;
using System.IO;
namespace GroupDocs.Merger.Examples.CSharp.BasicUsage
{
/// <summary>
/// This example demonstrates how to merge multiple PPTX files into single file.
/// For more details about merging PowerPoint Open XML Presentation (.pptx) files please check this documentation article
/// https://docs.groupdocs.com/merger/net/merge/powerpoint/
/// </summary>
@GroupDocsGists
GroupDocsGists / README.md
Last active July 1, 2025 11:44
How to merge Word documents in Node.js

Merge Word Documents in Node.js

If you need to merge Word documents, this example shows how, complete with commentary and best practices to help you accomplish your document management tasks effectively. This guide covers the essentials of using Node.js to operate with various file formats, including DOCX and DOC.

📦 Prerequisites

  • Install the GroupDocs.Merger package in your Node.js environment.
  • Activate your GroupDocs license key to utilize all features without restrictions.
  • You can get a free trial of GroupDocs.Merger and use a temporary license for unlimited access to our library.
  • This works seamlessly for DOCX and DOC files.
@GroupDocsGists
GroupDocsGists / README.md
Last active July 1, 2025 11:30
How to merge Word documents in Python

Merge Word Documents in Python

In this snippet, you’ll discover how to merge Word documents, leveraging a concise Python example to simplify your document management process. This guide will walk you through the essential steps required to combine multiple DOCX files into a single document, a fundamental task often needed in various applications.

📦 Prerequisites

  • Ensure you have installed the GroupDocs.Merger library.
  • Activate your GroupDocs license key for unrestricted access to features.
  • You can also get a free trial of GroupDocs.Merger to explore its capabilities with a temporary license.
  • This example works for formats such as DOC and DOCX.
@GroupDocsGists
GroupDocsGists / MergeDocx.java
Last active July 1, 2025 11:50
How to merge Word documents in Java
import com.groupdocs.merger.Merger;
import com.groupdocs.merger.examples.Constants;
import java.io.File;
/**
* This example demonstrates how to merge multiple DOCX files into single file.
* For more details about merging Microsoft Word Open XML Document (.docx) files please check this documentation article
* https://docs.groupdocs.com/merger/java/merge/word/
*/
@GroupDocsGists
GroupDocsGists / MergeDocx.cs
Last active July 1, 2025 11:47
How to merge Word documents in C#
using System;
using System.IO;
namespace GroupDocs.Merger.Examples.CSharp.BasicUsage
{
/// <summary>
/// This example demonstrates how to merge multiple DOCX files into single file.
/// For more details about merging Microsoft Word Open XML Document (.docx) files please check this documentation article
/// https://docs.groupdocs.com/merger/net/merge/word/
/// </summary>
@GroupDocsGists
GroupDocsGists / MergePdf.java
Last active July 8, 2025 11:06
How to merge PDF Files in Java
import com.groupdocs.merger.Merger;
import com.groupdocs.merger.examples.Constants;
import java.io.File;
/**
* This example demonstrates how to merge multiple PDF files into single file.
* For more details about merging Portable Document (.pdf) files please check this documentation article
* https://docs.groupdocs.com/merger/java/merge/pdf
*/