StretchMode

Property

Document.StretchMode (read-write, ScreenStretchType)

Syntax

Document.StretchMode [= ScreenStretchType]

mxLowStretch (0) : Low stretch

mxMediumStretch (1) : Medium stretch

mxHighStretch (2) : High stretch

mxMoonStretch (3) : Moon stretch

mxPlanetStretch (4) : Planet stretch

mxMaxValStretch (5) : Sets MinS to 0 and MaxS to the maximum pixel value

mxManualStretch (6): Manual

mxRangeStretch (7): Range

Remarks

Returns or sets the current Screen Stretch, which affects how an image is displayed (brightness/contrast) but does not affect the data values. Note that changing StretchMin or StretchMax will force the stretch to Manual.