Change the Size of the Viewer

You can simply change the size of the video and image container (the built-in viewers) using setWidth() and setHeight(). For example

dcsObject.videoviewer.setWidth(270);
dcsObject.videoviewer.setHeight(350);
imageViewer.ui.setWidth(270);
imageViewer.ui.setHeight(350);

Is this page helpful?

Leave a Reply

Your email address will not be published.