Methods
View
setViewport
sets the viewport of the 2d viewer example usage const namedviewport = "fit"; const options = { expandinpercentage 15 }; viewer2d setviewport(namedviewport, options); parameters namedviewport name of the viewport to set, valid value is fit true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type options options for the viewport true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type properties true 165,165,165,166left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type