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

> Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment'da PPTX belgelerini birleştirmek için C++ örnek kodu.

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



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

 PPTX 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

```

## PPTX 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 PPTX 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.

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

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

// 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::Pptx);

```

## 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 PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. A presentation file is a collection of slides where each slide can comprise of text, images, formatting, animations, and other media. These slides are presented to audience in the form of slideshows with custom presentation settings.

## 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
- [PPTM](https://products.aspose.com/slides/tr/cpp/merger/pptm/) — Makro Etkin Sunum Dosyası
