isSizerArgConstant()
Returns true if the specified argument is a constant integer.
Syntax
The method has the
following syntax:
bool isSizerArgConstant(int n) const;
Description
This method provides
a mechanism for passing constant arguments to the sizer if they are
of int32 type. This lets you use certain other methods such as round(val,
scale). The isSizerArgConstant method returns:
- TRUE if the specified argument is 0 or any positive or negative number except -1
- FALSE if the specified argument is -1
Throws
The method throws
exceptions if n
is out of range or if the specified
argument is not an int32 data type.