![]() |
![]() |
This query returns a boolean value, indicating whether the selected objects are set to printing (true) or non-printing (false).Objects must be selected. If no objects are selected (or text is highlighted with the text tool or PTextSelect command) when the query is received, PageMaker returns an error, and the PGetNonPrinting constructor will throw an exception.
Objects with different settings. If the selected objects do not have thesame print state (that is, some print and others do not), PageMaker returns an error, and the PGetNonPrinting constructor will throw an exception.
To change the print state of the selected objects, use the PNonPrinting command class.
PGetNonPrinting nonPrint;
if (nonPrint == false)
PNonPrinting(true);
The PDisplayNonPrinting command
Comments or suggestions? Contact Adobe Developer Support