Skip to main content
Skip table of contents

ibihelpme_CreateScreenshot

Signatur

ibihelpme_CreateScreenshot(): string

BeschreibungLeitet das Erstellen eines Screenshots ein
Verfügbar ab API-Version1.0.0

Parameter

Keine Parameter erforderlich

Rückgabewert

string

JSON-Objekt in folgendem Format:

CODE
{
 "id": "F76433A2-D0C0-492C-ACB4-73D9C712F8C0", 
 "creationDate":"2017-01-31T13:23:01.000",
 "data":"data:image/png;base64,..."
}

id: string
Eindeutige Id des Screenshotobjekts

creationDate: string
Erstellungsdatum im ISO8601-Format (YYYY-MM-ddThh:mm:ss.xxx)

data: string
In base64 encodiertes png-Bild 

Beispiel

JS
var screenshotObjectSerialized = window.external.ibihelpme_CreateScreenshot();
 
var screenshotObject = JSON.parse(screenshotObjectSerialized);
 
var imgScreenshot = document.getElementById('imgScreenshot');
 
if(imgScreenshot)
	imgScreenshot.src = screenshotObject.data;
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.