WWW.NNC.IR
Macro Reference
701
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
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 *MEASUREDISPG subroutine of the Unit Macro processing unit to draw a straight line whose line
type is "dashed line" and whose color is "OK Color".
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
*MEASUREDISPG
Rem Set the draw attibutes
SetDrawStyle PS_DASH, 1, JUDGE_OK
Rem Draw the image
DrawLine 100, 100, 500, 400, 0, UnitNo
Return
DrawArc (Reference: X Details (p.469)) DrawArcW (Reference: X Details (p.471))
DrawBox (Reference: X Details (p.473)) DrawCircle (Reference: X Details (p.475))
DrawCircleW (Reference: X Details (p.477)) DrawCursor (Reference: X Details (p.479))
DrawEllipse (Reference: X Details (p.481)) DrawFigure (Reference: X Details (p.483))
DrawLine (Reference: X Details (p.488)) DrawLineW (Reference: X Details (p.490))
DrawPoint (Reference: X Details (p.493)) DrawPolygon (Reference: X Details (p.495))
DrawSearchFigure (Reference: X Details (p.497)) RGB (Reference: X Details (p.662))
SetTextStyle (Reference: X Details (p.727))