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