Macro: DFWRITERECT

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

*** DFWriteRect *** 1. Required = Vertical start *** 2. Required = Horizontal start *** 3. Required = Height *** 4. Required = Width *** 5. Not Req. = Boarder/line color //RGB_?? *** 6. Not Req. = Weight of line *** 7. Not Req. = Wrap to next page //DFGR_NOWRAP,DFGR_WRAP *** 8. Not Req. = Fill color //RGB_?? *** 9. Not Req. = Set current position or not //DFGR_NOPOS, DFGR_SETPOS ***

 #IF (!0>8)
    Send DFWriteRect of WinPrintID !2 !1 !3 !4 !5 !8 DFGR_FILL !6 !7 !9
 #ENDIF
 #IF (!0=8)
    Send DFWriteRect of WinPrintID !2 !1 !3 !4 !5 !8 DFGR_FILL !6 !7 DFGR_NOPOS
 #ENDIF
 #IF (!0=7)
    Send DFWriteRect of WinPrintID !2 !1 !3 !4 !5 RGB_BLACK DFGR_TRAN !6 !7 DFGR_NOPOS
 #ENDIF
 #IF (!0=6)
    Send DFWriteRect of WinPrintID !2 !1 !3 !4 !5 RGB_BLACK DFGR_TRAN !6 DFGR_WRAP DFGR_NOPOS
 #ENDIF
 #IF (!0=5)
    Send DFWriteRect of WinPrintID !2 !1 !3 !4 !5 RGB_BLACK DFGR_TRAN 0 DFGR_WRAP DFGR_NOPOS
 #ENDIF
 #IF (!0=4)
    Send DFWriteRect of WinPrintID !2 !1 !3 !4 RGB_BLACK RGB_BLACK DFGR_TRAN 0 DFGR_WRAP DFGR_NOPOS
 #ENDIF