DocumentationDynamic Media Viewers Reference Guide

Main viewer area

Last update: November 6, 2021
  • Topics:
  • Dynamic Media Classic,Viewers,SDK/API,Zoom

CREATED FOR:

  • Developer
  • User

The main view area is the area occupied by the zoom image. It usually sets to fit the available device screen when no size is specified.

CSS properties of the main viewer area

The appearance of the viewing area is controlled with the following CSS class selector:

.s7basiczoomviewer
CSS propertyDescription
widthThe width of the viewer.
heightThe height of the viewer.
background-colorBackground color in hexadecimal format.

Example - to set up a viewer with white background ( #FFFFFF) and make its size 512 x 288 pixels.

.s7basiczoomviewer{
 background-color: #FFFFFF;
 width: 512px;
 height: 288px;
}
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8