ImageEn, unit iemio




procedure SaveToStreamPDF(Stream: TStream; SelectedOnly: boolean = false);


Save all images in the attached TImageEnMView or TIEMultiBitmap to a stream in Adobe PDF format.
If SelectedOnly = True and the component is attached to a TImageEnMView then only the selected images are output.
The size of the page will be specified by PDF_PaperWidth and PDF_PaperHeight. Margins are specified by PDF_PageMargin.
Image position and size is affected by PDF_ImageOptions.

If the PDFEngine is ieenDLL, then PDFium will be used to create the PDF, otherwise native PDF code will be used

 If an internal save error is encountered Aborting will return true. Saving issues due to insufficient write permissions and disk write failures will raise an exception.
 To abort while saving set Aborting to true
 Read more about ImageEn PDF Support