TIEViewRulerParams.DisplayNegativeValues
Declaration
property DisplayNegativeValues: TIENegativeValueDisplay;
Description
Specify how ticks and numbers outside of the image area are displayed, either visible, hidden or disabled.
Item | Description |
ienvNever | Values and ticks are not displayed for areas outside of the image |
ienvTicksOnly | Only ticks are displayed for areas outside of the image |
ienvDisabled | Values and ticks are displayed as grayed for areas outside of the image |
ienvAlways | Values and ticks are displayed for areas outside of the image |
Default: ienvDisabled
// Hide invalid (i.e. negative or beyond the size of the image) ruler values
ImageEnView1.RulerParams.DisplayNegativeValues := ienvNever;
// Show invalid ruler values as grayed
ImageEnView1.RulerParams.DisplayNegativeValues := ienvDisabled;
// Show all ruler values
ImageEnView1.RulerParams.DisplayNegativeValues := ienvAlways;