| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > PrintPreviewClass > PrintPreviewClass Methods >====== DeleteImageQueue (remove non-selected pages) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[askthumbnails prompt for new thumbnail configuration .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[display preview the report .htm|{{btn_next_n.gif|Next page}}]] | | || **DeleteImageQueue(****//page //****), VIRTUAL, PROC** {{blk2blue.jpg|blk2blue.jpg}} | **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 the pages to print .htm|PagesToPrint]],[[deleteimagequeue remove non selected pages .htm|DeleteImageQueue]]