Description This method will show up the advanced printing preview dialog. This dialog is modeless. Many images can be loaded and printed to the same paper with this dialog. The user can customize the menu and the toolbar easily, and can add new menuitems and toolbar buttons. The printer also can be selected with this dialog. This method allowed after calling BiInitPrintExtGUI method
Syntax RetVal = [BiAdvPrn.]BiPrintImageExtGUI lMenuItems lToolBarItems
Returns RetVal LONGLONG 0 if there are any errors.
Remarks lMenuItems Long Flag of menu items to display.
lToolBarItems Long Flag of toolbar buttons to display.
Available flags of Menu items:
MENU_LOAD_IMAGE Menu item of the opening image file.
MENU_DELETE_IMAGE Menu item of the deleting imege from the page.
MENU_CLOSE Menu item of the closing dialog.
MENU_PRINT Menu item of the printing.
MENU_COPY Menu item of the copying image to the clipboard.
MENU_PASTE Menu item of the pasting image from the clipboard.
MENU_DELETE Menu item of the emptying the clipboard.
MENU_MEASUREMENT Menu items of the changing measurement of the dialog.
MENU_FITPAGEPROP Menu item of the fitting page proportionally.
MENU_FITPAGE Menu item of the stretching page.
MENU_IMAGEDPI Menu item of the displaying image with DPI.
MENU_CENTERHOR Menu item of the centering image horizontally.
MENU_CENTERVERT Menu item of centering image vertically.
MENU_ROTATE Menu items of the rotating.
MENU_FLIP Menu items of the flipping image.
MENU_PRINTERSETTINGS Menu item of the displaying printer settings.
MENU_DRAWIMAGEBORDER Menu item of the drawing border around the image.
Available flags of Toolbar items:
TOOL_LOAD_IMAGE Toolbar button of the opening image file.
TOOL_DELETE_IMAGE Toolbar button of the deleting imege from the page.
TOOL_CLOSE Toolbar button of the closing dialog.
TOOL_PRINT Toolbar button of the printing.
TOOL_COPY Toolbar button of the copying image to the clipboard.
TOOL_PASTE Toolbar button of the pasting image from the
clipboard.
TOOL_DELETE Toolbar button of the emptying the clipboard.
TOOL_FITPAGEPROP Toolbar button of the fitting page proportionally.
TOOL_FITPAGE Toolbar button of the stretching page.
TOOL_IMAGEDPI Toolbar button of the displaying image with DPI.
TOOL_CENTERHOR Toolbar button of the centering image horizontally.
TOOL_CENTERVERT Toolbar button of centering image vertically.
TOOL_ROTATE Toolbar buttons of the rotating.
TOOL_FLIP Toolbar buttons of the flipping image.
TOOL_DRAWIMAGEBORDER Toolbar button of the drawing border around the image.
See Also BiDestoryPrintUI Method