Sets the values on the Fill | Level tab of the Object Properties dialog for the current object.
Note: As this function does not support True Color functionality, it is superseded by the function PropertiesFillLevelPutEx.
Syntax
PropertiesFillLevelPut(Expression, RangeFlag, RangeMin, RangeMax, OffsetMin, OffsetMax, FillDirection, BackgroundColour)
Expression:
The level expression.
RangeFlag:
TRUE if the Specify range checkbox is selected.
RangeMin:
The minimum floating point value in the range of the tag. This argument is only valid if RangeFlag is set to TRUE.
RangeMax:
The maximum floating point value in the range of the tag. This argument is only valid if RangeFlag is set to TRUE.
OffsetMin:
The value between 0 and 100 representing the percentage of the area displayed as filled when the tag value is at its minimum.
OffsetMax:
The value between 0 and 100 representing the percentage of the area displayed as filled when the tag value is at its maximum.
FillDirection:
The current fill direction setting:
BackgroundColour:
A value between 0 and 255 representing the background color setting.
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: For details on handling return and error values, see Error Handling.
Related Functions
PropertiesFillLevelPutEx,PropertiesFillLevelGet