$(viewerElement).on('documentLoaded', function(e) {
var doc = myWebViewer.getInstance().docViewer.GetDocument();
doc.LoadThumbnailAsync(2, function(thumb) {
// do something with the thumbnail
$('body').append(thumb);
});
});