Viewports

Each Enabled Element has a Viewport which describes how the Image should be rendered.

The viewport parameters for an enabled element can be obtained via the getViewport() function and set using the setViewport() function. The available properties for the Viewport can be found in the Viewport object definition in the API documentation.

See the Pen CornerstoneJS - Viewport Example by Erik Ziegler (@swederik) on CodePen.

results matching ""

    No results matching ""