|
Versionshinweise |
22.1, 21.2.06, 21.1.11 |
||
|---|---|---|---|
Code
Groovy
save(PresentationDocument document)
Beschreibung
Speichert die übergebene Präsentationsdatei.
Parameter
-
document
Repräsentiert die Präsentationsdatei
Beispiele
Groovy
IPresentationResult openResult = PresentationUtils.openFile("C:\\Work\\myFirstPresentation.ppsx");
if (!PresentationUtils.isSuccessful(openResult))
{
/** handle error code */
return;
}
PresentationDocument presentation = null;
try
{
presentation = PresentationUtils.getPresentationDocument(openResult);
...
PresentationUtils.save(presentation);
}
finally
{
PresentationUtils.close(presentation);
}