View Properties

Each iTool window contains at least one view. If multiple views have been created from the Window Layout dialog, each view will be listed separately.

Figure D-8: Visualization Browser with View Properties Displayed

VizBrowser_View.gif

These properties control the display of the view or views contained in the iTool window. For each property, the type of control and the values that can be assigned are listed, along with the property identifier and allowed values for use by the iTools Procedural Interface. For a description of how a particular control is used, refer to Property Controls

Table D-38: View Properties 

Interface:
Property Name
Control Type: Values
API:
Property Identifier
API:
Allowed Values

Layout Position

Displays the currently selected layout view

LAYOUT_POSITION

Integer

Stretch to Fit

Boolean: Stretch visualization layer to fit window? Choose True or False. Default = False

STRETCH_TO_FIT

0 (Do not stretch visualization layer to fit window--default)

1 (Stretch visualization layer to fit window)

X margin

Number: Set horizontal margin size. Valid range = 0.0 to 0.49.

MARGIN_2D_X

Floating point from 0.0 to 0.49

Y margin

Number: Set vertical margin size. Valid range = 0.0 to 0.49.

MARGIN_2D_Y

Floating point from 0.0 to 0.49

Zoom Factor

Number: Increase or decrease magnification of the view by this factor. Edit the number to change the value. Default = 1

CURRENT_ZOOM

Floating point

Background color

Color: Sets the background color of the contained Visualization Layer. Default = [255, 255, 255] (white)

COLOR

3D integer array of the form:

[R, G, B]

Each color value may range from 0 to 255.