Macro: DFWRITELINE

Module location: Winprint_Commands.pkg line 526 (view source)

*** DFWriteLine *** 1. Required = Vertical start *** 2. Required = Horizontal start *** 3. Required = Length *** 4. Not Req. = Horizontal/Vertical //RGB_HORI RGB_VERT *** 5. Not Req. = Boarder/line color //RGB_?? *** 6. Not Req. = Weight of line *** 7. Not Req. = Set current position or not //DFGR_NOPOS, DFGR_SETPOS ***

 #IF (!0=7)
    Send DFWriteLine of WinPrintID !2 !1 !3 !4 !5 !6 !7
 #ENDIF
 #IF (!0=6)
    Send DFWriteLine of WinPrintID !2 !1 !3 !4 !5 !6 DFGR_NOPOS
 #ENDIF
 #IF (!0=5)
    Send DFWriteLine of WinPrintID !2 !1 !3 !4 !5 0 DFGR_NOPOS
 #ENDIF
 #IF (!0=4)
    Send DFWriteLine of WinPrintID !2 !1 !3 !4 RGB_BLACK 0 DFGR_NOPOS
 #ENDIF
 #IF (!0=3)
    Send DFWriteLine of WinPrintID !2 !1 !3 DFGR_HORI RGB_BLACK 0 DFGR_NOPOS
 #ENDIF