ImageEn, unit ImageEnIO

TImageEnIO.SaveToStreamPDF

TImageEnIO.SaveToStreamPDF

Declaration

procedure SaveToStreamPDF(Stream: TStream);

Description

Saves the current image or layers to a stream in Adobe PDF format. The resulting file will have only one page.
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.

The following TIELayer features are not supported when exporting to PDF:
◼Gradient fills
◼Mask layers


The engine used to save PDF files (either using PDFium or ImageEn native code) is specified by PDFEngine.

Note: Read more about ImageEn PDF Support

See Also

◼TImageEnMIO.SaveToStreamPDF

Compatibility Information

Prior to v13.2.0, ImageEn would always use native code to save PDF files. From v13.2.0, the saving engine is controlled by PDFEngine. If the PDFium DLL (iepdf*.dll) is located in the EXE folder, ImageEn will now default to using PDFium for saving. To avoid this, set IEGlobalSettings().PDFEngine := ieenNative;