ImageEn, unit ieopensavedlg

TSaveImageEnDialog


Declaration

TSaveImageEnDialog = class(TIECommonDialog);


Description

TSaveImageEnDialog is the same as the TOpenImageEnDialog, but with an "Advanced" button to display and modify advanced specific file format parameters.

Also you can hide the image preview (using ExOptions).

TSaveImageEnDialog should be attached to a TImageEnIO, TImageEnMIO, TImageEnView or TImageEnMView component to get/set Params properties (when the user clicks the "Advanced" button). If it is not attached it will function as a standard save dialog with a preview, but without the ability to modify image properties.


For more modern styled dialogs, enable ModernDialog (Also see UseWindowsOpenSaveDialogs):


Note:
 You can also display a Save dialog for a TImageEnView just by calling ExecuteSaveDialog or for a TImageEnMView by calling ExecuteSaveDialog
 If your application is likely to be scaled (i.e. display is not 100%) it is recommended that you enable ModernDialog


Example

// Prompt user to save a file in an ImageEnView
if SaveImageEnDialog1.Execute() then
  ImageEnView1.IO.SaveToFile( SaveImageEnDialog1.Filename );


Methods and Properties

Published Property  AlwaysAnimate
Published Property  AttachedImageEnIO
Published Property  AutoAdjustDPI
Published Property  AutoMultiOnly
Published Property  AutoSetFilter
Published Property  AutoSetFilterFileType
Public Method  Execute
Published Property  ExtendedDialog
Public Property  ExtendedFilters
Published Property  ExOptions
Published Property  Filename
Public Property  Files
Published Property  Filter
Published Property  FilteredAdjustDPI
Published Property  FilterDefault
Published Property  FilterIndex
Published Property  FileView
Published Property  GetExifThumbnail
Public Property  InfoPanel
Published Property  ModernDialog
Published Property  Options
Public Property  PicturePanel
Published Property  PreviewBorderStyle
Published Property  PreviewSize
Public Property  SelectedFrame
Published Property  ShowAllFrames
Published Property  ShowFormats
Published Property  ShowPlacesBar
Published Property  ZoomFilter


Events

Event  OnCreateCustomControls
Event  OnDestroyCustomControls


See Also

 TSaveDialog
 TOpenImageEnDialog