"secondarySubViewport"

Allows to define the position and size of the secondary sub viewport.

Synopsis

shape.secondarySubViewport(dyn_int viewport);

Parameter

Parameter Description
viewport Position and size of the viewport as dyn_int [x position, y position, width, height]

Rückgabewert

Position and size of the secondary sub viewport as dyn_int

Description

The secondary sub viewport is displayed if the selection mode is combined with the SelectionSlice flag (see "barSelectionMode") and the 2D view is shown. The size and position of the 2D view can be defined with this attribute.

Example

The example sets the secondary viewport to position 100,0 and to a size of 400x400.

main()
{
  dyn_int i = makeDynInt(100,0,400,400);
  BarChart3D_ewo1.secondarySubViewport(i);
}

Assignment

BarChart3D EWO