WWW.NNC.IR
Macro Reference
485
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
DrawFillImage
Draw the fill image on the image window.
Format
DrawFillImage <color>
Parameter
Return value
None.
Description
Draw the color filled image specified in the <color> parameter.
In <color> parameter, specify the color value gotten with the RGB function.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• This macro function can only be used in the *MEASUREDISPI subroutine or the *MEASUREDISPG
subroutine. If used in another subroutine, an "Illegal function call" error will occur.
Example
Uses the *MEASUREDISPI subroutine in the Unit Macro processing unit to display a white-filled figure.
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<color> Integer type Color value of the color to fill with (Reference: XRGB (p.662))
*MEASUREDISPI
DrawFillImage RGB(255, 255, 255)
Return
DrawMeasureImage (Reference: X Details (p.492)) DrawUnitImage (Reference: X Details (p.504))
RGB (Reference: X Details (p.662))