# A PPSX fájlok metaadatainak megtekintése vagy szerkesztése a C++ használatával

> C++ forráskód a PPSX formátumú metaadatok szerkesztéséhez vagy megtekintéséhez.

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



## A PPSX tulajdonságok módosítása a C++ segítségével

A Aspose.Slides for C++ használatával a fejlesztők hozzáférhetnek és módosíthatják a beépített tulajdonságok, valamint az egyéni tulajdonságok értékeit. A fejlesztők a Presentation objektum által közzétett [DocumentProperties](https://reference.aspose.com/slides/cpp/aspose.slides/documentproperties/) tulajdonságot használhatják a prezentációs fájl dokumentum tulajdonságainak eléréséhez.

### A PPSX beépített tulajdonságainak módosítása – C++

```cpp

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

// 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.ppsx", SaveFormat::Ppsx);
```

### Egyéni tulajdonságok hozzáadása a következőhöz: PPSX – C++

```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.ppsx", SaveFormat::Ppsx);
```

## A PPSX metaadatainak kinyerése a C++ segítségével

Ezek a lépések a metaadatok kibontásához a PPSX fájlokból.

Példányosítsa a Presentation osztályt a PPSX fájl elérési útjával

A bemutatóhoz társított DocumentProperties objektum lekérése

Hurok át a DocumentProperties objektum elemei között

Egyéni tulajdonságok elérése és módosítása

## Egyéb támogatott metaadat-formátumok
