DeleteImageQueue (remove non-selected pages)

Top  Previous  Next

 

DeleteImageQueue(page ), VIRTUAL, PROC

DeleteImageQueue

Removes a page number from the ImageQueue.

page

An integer constant, variable, EQUATE, or expression containing the page number to delete.

The DeleteImageQueue method removes records from the ImageQueue, and the associated image file, which have not been selected for printing.

Implementation:

The SyncImageQueue method calls the DeleteImageQueue method. The value contained in the PagesToPrint property determines which records and images are deleted.

Return Data Type:     BYTE

Example:

PrintPreviewClass.SyncImageQueue PROCEDURE

i LONG,AUTO

 

 CODE

 LOOP i = RECORDS(SELF.ImageQueue) TO 1 BY -1

   IF ~SELF.InPageList(i)

     SELF.DeleteImageQueue(i)

   END

 END

See Also:     PagesToPrint,DeleteImageQueue