procedure SaveToStream(Stream: TStream; FileFormat: TIOFileType; SelectedOnly: Boolean = False);
Save all images in the attached TImageEnMView
to a multi-image format: GIF, TIFF, DCX, ICO, AVI, DICOM, PDF or PS.
You must specify a file format
, which should be one of: ioGIF, ioTIFF, ioPS, ioPDF, ioDICOM, ioDCX, ioICO, ioUnknown (if ioUnknown is specified, the current file type is used if it is a multi-image format).
= True and the component is attached to a TImageEnMView
then only the selected images are output to file.
- Only multi-frame formats are supported. Saving to a single frame format, such as JPEG, will result in an error (Aborting
will return true). To save single frames of a TImageEnMView you can use Write
for the relevant frame
- 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
- AVI is not