Purpose |
Retrieves the status of the SELECTION flag. |
Syntax |
XPRINT GET SELECTION TO SelectVar& Function Form: SelectVar& = XPRINT(SELECTION) |
Remarks |
You may elect to limit a particular print job to just that part of the total which is selected/highlighted. If so, it is the programmer's responsibility to limit XPRINT output to just the selected region. The selection flag can only be set by the user in the Print Dialog which is displayed when XPRINT ATTACH is executed with the CHOOSE option. It cannot be set under program control. This flag is maintained only to give the programmer information about the user's request. If you do not wish to honor this option, you should disable it in XPRINT ATTACH CHOOSE. If XPRINT GET SELECTION is executed without a host printer attached, an error 57 is generated. |
See also |