SetUserLimits

 

The SetUserLimits method sets the User Limits option and defines the minimum and maximum data values. MinVal and MaxVal are ignored if ApplyUserLimits is False.

 

Syntax

object.SetUserLimits( ApplyUserLimits, MinVal, MaxVal )

 

Parameter

Type

Description

ApplyUserLimits

Boolean

required; true to use user-defined limits

MinVal

Double

optional; default value is 0

MaxVal

Double

optional; default value is 10000000

 

Example

This example enables the User Limits option and specifies the minimum value as 500 and the maximum value as 400000.

 

HatchMap.SetUserLimits(True,500,400000)

 

Used by: FlowMap object, GradientMap object, HatchMap object, LineGraphMap object, PinMap object, PrismMap object, SymbolMap object