|
Versionshinweise |
22.1, 21.2.06, 21.1.11 |
||
|---|---|---|---|
Code
Groovy
boolean isSuccessful(IPresentationResult result)
Beschreibung
Prüft, ob das Öffnen der Präsentationsdatei erfolgreich war.
Parameter
-
result
Ergebnis des Öffnens der Präsentationsdatei.
Rückgabe
Liefert true, falls das Öffnen der Präsentationsdatei erfolgreich war.
Beispiele
Groovy
IPresentationResult openResult = PresentationUtils.openFile("C:\\Work\\myFirstPresentation.pptx");
if (!PresentationUtils.isSuccessful(openResult))
{
String errorCode = PresentationUtils.getErrorCode(openResult);
/** handle error code */
return;
}
...