# PPTM Dosyalarını C++ ile Birleştirme

> PPTM belgelerini Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment üzerinde birleştirmek için C++ örnek kodu.

Source: https://products.aspose.com/slides/tr/cpp/merger/pptm/
Updated: 2026-08-11



## C++ Kullanarak PPTM Dosyasını Birleştirme

 PPTM dosyasını birleştirmek için kullanacağız
 [Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/)
 C++ platformu için zengin özelliklere sahip, güçlü ve kullanımı kolay bir belge birleştirme API'si olan API. En son sürümünü doğrudan indirebilirsiniz, sadece açın
 [NuGet](https://www.nuget.org/packages/aspose.slides)
 paket yöneticisi, ara
 **Aspose.Slides.Cpp**
 ve yükleyin. Paket Yöneticisi Konsolundan aşağıdaki komutu da kullanabilirsiniz.

### Emretmek

```cs

PM> Install-Package Aspose.Slides.Cpp

```

## PPTM Dosyalarını C++'da Birleştirme Adımları

[Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/) API'lerini birleştiren ve birleştiren temel bir belge, yalnızca birkaç satır kodla yapılabilir.

Her iki PPTM dosyasını da yükleyin.

Her slaytta yineleme yapmak için get\_Slides() yöntemini kullanın.

İstediğiniz dosyayla birleştirmek için AddClone işlevini kullanın.

Belirtilen yola kaydetmek için Save() yöntemini kullanın

## sistem gereksinimleri

 Aspose.Slides for C++ tüm büyük platformlarda ve İşletim Sistemlerinde destekler. Lütfen aşağıdaki ön koşullara sahip olduğunuzdan emin olun.

- Microsoft Windows veya Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment ile uyumlu bir işletim sistemi.
- Projenizde referans verilen C++ DLL için Aspose.Slides.

### PPTM Dosyalarını Birleştirme - C++

```cs
// The path to the documents directory.
const String sourceFilePath1 = u"SourceFile2.pptm";
const String sourceFilePath2 = u"SourceFile3.pptm";
const String outputFilePath = u"mergedOutput.pptm";

// Instantiate Presentation class
SharedPtr<Presentation> presentation1 = MakeObject<Presentation>(sourceFilePath1);
SharedPtr<Presentation> presentation2 = MakeObject<Presentation>(sourceFilePath2);

for (SharedPtr<ISlide> slide : presentation2->get_Slides()){
	// Merge from source to destination
	presentation1->get_Slides()->AddClone(slide);
}

// Save the presentation
presentation1->Save(outputFilePath, SaveFormat::Pptm);

```

## Aspose.Slides for C++ API Hakkında

 Aspose.Slides API, Microsoft PowerPoint belgelerini okumak, yazmak, değiştirmek ve PDF, XPS, HTML, TIFF, ODP ve diğer çeşitli formatlara dönüştürmek için kullanılabilir. Sıfırdan yeni dosyalar oluşturabilir ve bunları ilgili desteklenen biçimlerde kaydedebilirsiniz. Aspose.Slides, sunumlar, slaytlar ve öğeler oluşturmak, ayrıştırmak veya değiştirmek için bağımsız bir API'dir ve Microsoft veya OpenOffice gibi herhangi bir yazılıma bağlı değildir.

Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros. PPTM files can be edited by opening them in Microsoft PowerPoint and updating the contents. Another similar format is PPSM but it is read-only by default and starts the slideshow when opened. PPTM, like PPTX, contains slides for different presentation elements like text, images, videos, graphs and other related material.

## Desteklenen Diğer Birleştirme Formatları

- [ODP](https://products.aspose.com/slides/tr/cpp/merger/odp/) — OpenDocument Sunum Formatı
- [OTP](https://products.aspose.com/slides/tr/cpp/merger/otp/) — OpenDocument Standart Biçimi
- [POT](https://products.aspose.com/slides/tr/cpp/merger/pot/) — Microsoft PowerPoint Şablon Dosyaları
- [POTM](https://products.aspose.com/slides/tr/cpp/merger/potm/) — Microsoft PowerPoint Şablon Dosyası
- [POTX](https://products.aspose.com/slides/tr/cpp/merger/potx/) — Microsoft PowerPoint Şablonu Sunumu
- [PPS](https://products.aspose.com/slides/tr/cpp/merger/pps/) — PowerPoint Slayt Gösterisi
- [PPSM](https://products.aspose.com/slides/tr/cpp/merger/ppsm/) — Makro Etkin Slayt Gösterisi
- [PPSX](https://products.aspose.com/slides/tr/cpp/merger/ppsx/) — PowerPoint Slayt Gösterisi
- [PPT](https://products.aspose.com/slides/tr/cpp/merger/ppt/) — Microsoft PowerPoint 97-2003
- [PPTX](https://products.aspose.com/slides/tr/cpp/merger/pptx/) — Açık XML sunum Formatı
