ImageEn, unit iemio

TImageEnMIO.DoSavePreviewDialog

TImageEnMIO.DoSavePreviewDialog


Declaration

function DoSavePreviewDialog(const Caption: string = ''; const Heading: string = ''): boolean;


Description

Executes the multi-page save preview dialog allowing the user to output the contents of a TImageEnMView as pages of thumbnails.
Parameter Description
Caption Specifies the caption of the Save Preview dialog
Heading Printed at the top of each contact sheet

Note:
- The language used in the dialog is controlled by MsgLanguage. The styling can also be adjusted using UseButtonGlyphsInDialogs
- Use the OnPrintPage or OnPrintPage events to customize the heading of each saved page


Demos

Demo  Demos\Multi\Multiview\Multi.dpr
Demo  Demos\Multi\ContactSheets\ContactSheets.dpr
Demo  Demos\Other\ImageEn_Dialogs\ImageEn_Dialogs.dpr


Examples

ImageEnMView1.MIO.DoSavePreviewDialog( '', 'Thumbnails' );



// Display the Save Preview maximized
ImageEnMView1.MIO.PrintPreviewParams.DlgMaximized := True;
ImageEnMView1.MIO.DoSavePreviewDialog();


See Also

- PrintPreviewParams
- PreviewPrintImages
- PrintImagesToFile
- PrintImagesToBitmap
- OnPrintPage
- OnShowDialog
- DoPrintPreviewDialog