ImageEn, unit iemio

TImageEnMIO.SaveToStreamPDF

TImageEnMIO.SaveToStreamPDF


Declaration

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


Description

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.

Notes:
- 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