PtrDevice:IsValid Access
<< Click to Display Table of Contents >> PtrDevice:IsValid Access |
![]() ![]() ![]() |
Type | Logic |
Purpose
Returns TRUE if the PtrDevice object is valid. The printer device is invalid when there is no default printer device selected in the Windows Control Panel, or if the printer device cannot allocate enough memory.
Example
// Is this PtrDevice a valid printer object?
if oPtrDevice:IsValid
oPtrDevice:Print(...)
endif