Merge OTP

How to merge OTP files in C#

GroupDocs.Merger allows developers to merge OTP files when it’s needed to organize multiple OTP files into single document or send fewer attachments etc. And you can do this without¬†any third-party software or manual work involved. With GroupDocs.Merger it is possible to combine OTP documents of any size and structure - all text, images, tables, graphs, forms and other content will be preserved.

The following example demonstrates how to merge OTP files with several lines of C# code:

  • Create an instance of Merger class and pass source OTP file path as a constructor parameter. You may specify absolute or relative file path as per your requirements.
  • Add another OTP file to merge with Join method. Repeat this step for other OTP documents you want to merge.
  • Call Merger class Save method and specify the filename for the merged OTP file as parameter.
// Load the source OTP file
using (Merger merger = new Merger(@"c:\sample1.otp"))
{
    // Add another OTP file to merge
    merger.Join(@"c:\sample2.otp");
    // Merge OTP files ans save result
    merger.Save(@"c:\merged.otp");
}

About OTP File Format

Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. The contents of such a file include presentation information in the form of slides with text, images, shapes, multimedia content, transition effects and other slide elements. These template files are used for creating new presentations quickly based on the styling information stored in the template itself. OTP files can be created and saved with several different applications such as Impress that comes with OpenOffice suite and Microsoft PowerPoint. The OTP file format is similar to Microsoft PowerPoint template files .POT and .POTX.

Code Examples

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!

Merge OTP Live Demo

GroupDocs.Merger for .NET provides an online OTP Merger App, which allows you to try it for free and check its quality and accuracy.

“Merge OTP”