# C++ kullanarak POTM Dosya Meta Verilerini Görüntüleyin veya Düzenleyin

> POTM biçim meta verilerini düzenlemek veya görüntülemek için C++ kaynak kodu.

Source: https://products.aspose.com/slides/tr/cpp/metadata/potm/
Updated: 2023-04-25



## C++ aracılığıyla POTM Özelliklerini değiştirin

Geliştiriciler, Aspose.Slides for C++ ürününü kullanarak, özel özelliklerin yanı sıra yerleşik özelliklerin değerlerine erişebilir ve bunları değiştirebilir. Geliştiriciler, sunum dosyasının belge özelliklerine erişmek için Presentation nesnesi tarafından sunulan [DocumentProperties](https://reference.aspose.com/slides/cpp/aspose.slides/documentproperties/) özelliğini kullanabilir.

### POTM Yerleşik Özelliklerini Değiştirin - C++

```cpp

// Instantiate the Presentation class that represents the Presentation
System::SharedPtr<Presentation> presentation = System::MakeObject<Presentation>(u"presentation.potm");

// Create a reference to IDocumentProperties object associated with Presentation
System::SharedPtr<IDocumentProperties> documentProperties = presentation->get_DocumentProperties();

// Set the builtin properties
documentProperties->set_Author(u"New Author");
documentProperties->set_Title(u"New Title");

// Save your presentation to a file
presentation->Save(u"DocumentProperties_out.potm", SaveFormat::Potm);
```

### POTM - C++ ürününe Özel Özellikler ekleyin

```cpp

// Instantiate the Presentation class
auto presentation = System::MakeObject<Presentation>();

// Getting Document Properties
auto documentProperties = presentation->get_DocumentProperties();

// Adding Custom properties
documentProperties->idx_set(u"New Custom", ObjectExt::Box<int32_t>(12));
documentProperties->idx_set(u"My Name", ObjectExt::Box<String>(u"Aspose Metadata Editor"));
documentProperties->idx_set(u"Custom", ObjectExt::Box<int32_t>(124));

// Getting property name at particular index
String getPropertyName = documentProperties->GetCustomPropertyName(2);

// Removing selected property
documentProperties->RemoveCustomProperty(getPropertyName);

// Saving presentation
presentation->Save(u"CustomDocumentProperties_out.potm", SaveFormat::Potm);
```

## C++ Aracılığıyla POTM Meta Verilerini Çıkarma

Bunlar, POTM dosyalarından Meta Verileri Çıkarma adımlarıdır.

POTM dosyasının yolu ile Presentation sınıfını örneklendirin

Presentation ile ilişkili DocumentProperties nesnesini alın

DocumentProperties nesnesindeki öğeler üzerinde döngü yapın

Özel özelliklere erişin ve değiştirin

## Diğer Desteklenen Meta Veri Biçimleri
