ImageEn, unit iesettings

TIEGlobalSettings


Declaration

TIEGlobalSettings = class(TComponent);


Description

Provides access to settings that are shared by all ImageEn components and functionality.
It can be accessed using the IEGlobalSettings object or by adding a TIEGlobalSettings component to your main form (both methods can be used at the same time).




Demos

Demo  Demos\Other\AllComps\AllComponents.dpr
Demo  Demos\Other\ImageEnViewToolbar\IEToolbar.dpr


Examples

// Change the language to Italian
IEGlobalSettings().MsgLanguage := msItalian;

// Use PixelFormat as authoritative source of bit-depth
IEGlobalSettings().AutoSetBitDepth := True;
ImageEnView1.IEBitmap.PixelFormat := ie8p;

// Display ImageEn version information
Label1.Caption := 'ImageEn Version: ' + IEGlobalSettings().ImageEnVersion.VersionStr;
Label2.Caption := 'Released on: ' + IEGlobalSettings().ImageEnVersion.DateStr;

// Use WIC to load JPEG images
IEGlobalSettings().JPEGEngine := ieenWIC;

// Register all available plug-in DLLs
IEGlobalSettings().RegisterPlugIns();

// For all loading, automatically rotate images to their correct orientation
IEGlobalSettings().IOParamDefaults.EnableAdjustOrientation := True;

// Use a navy selection color when selecting text in a PDF document
IEGlobalSettings().PdfViewerDefaults.SelectionColor := clNavy;
ImageEnView1.Update();


Properties

General
Published Property  DefaultRotateAntiAlias
Published Property  EMFBackgroundColor
Public Property  FileFormat
Public Property  FileFormatCount
Published Property  IOParamDefaults
Published Property  ProxyAddress
Published Property  ProxyPassword
Published Property  ProxyUser
Published Property  TempPath
Published Property  UseEXIFDateTime
Published Property  WICFileTypes

Language
Public Method  GetLanguages
Public Method  GetLanguageWord
Published Property  MsgLanguage
Public Method  CurrentMsgLanguage
Public Method  SetLanguageWord
Event  OnGetLanguageWord
Public Method  UpdateLanguage

Bitmap Settings
Published Property  AutoAdjustDPI
Public Property  AutoFragmentBitmap
Public Property  AutoLocateOnDisk
Published Property  AutoSetBitDepth
Published Property  DefaultDPIX
Published Property  DefaultDPIY
Public Property  DefMinFileSize

Color Settings
Published Property  ApplyColorProfileOnRendering
Public Property  BlueToGrayCoef
Public Property  ColorReductionAlgorithm
Public Property  ColorReductionQuality
Public Property  ConvertColorFunction
Published Property  EnableCMS
Public Property  GreenToGrayCoef
Public Property  RedToGrayCoef
Public Property  UseCMYKProfile

Visual Components (TImageEnView, TImageEnMView, etc)
Published Property  AutoPromptForPassword
Published Property  AutoScale
Published Property  CustomHintTimeout
Published Property  ClipboardCopyFormats
Published Property  EnableTheming
Published Property  DefaultMeasureUnit
Published Property  GridPen
Published Property  GridMajorStep
Published Property  GuidelineCount
Published Property  HintStyle
Public Property  KeyboardShortcuts
Published Property  MeasureDecimalPlaces
Public Property  MeasureUnits
Public Property  MinZoomDisplayGrid
Public Property  MViewExplorerThumbnailExts
Event  OnPassword
Published Property  PdfViewerDefaults
Public Property  SelectionGridColor
Published Property  UseWindowsOpenSaveDialogs

TImageEnView Toolbars
Published Property  ImageEditingToolbar
Published Property  ImageSelectionToolbar
Published Property  ImageViewingToolbar
Published Property  LayerEditingToolbar
Published Property  LayerSelectionToolbar
Published Property  PdfEditingToolbar
Published Property  PdfViewingToolbar
Public Property  ToolbarsAllowExtraControls

TImageEnView Popup Menus
Published Property  ImageEditingPopupMenu
Published Property  ImageSelectionPopupMenu
Published Property  ImageViewingPopupMenu
Published Property  LayerEditingPopupMenu
Published Property  LayerSelectionPopupMenu
Published Property  PdfEditingPopupMenu
Published Property  PdfViewingPopupMenu
Published Property  PopupMenuImageHue
Public Property  PopupMenuImageList

TImageEnMView Popup Menus
Published Property  MViewDefaultPopupMenu
Published Property  MViewSelectionPopupMenu
Published Property  FolderMViewDefaultPopupMenu
Published Property  FolderMViewSelectionPopupMenu
Published Property  LayerMViewDefaultPopupMenu
Published Property  LayerMViewSelectionPopupMenu

Other Toolbars and Popup Menus
Published Property  TextEditorPopupMenu
Published Property  RichEditorPopupMenu
Published Property  RichEditorToolbar

Toolbar and Popup Events
Event  OnAddCustomPopupMenuItem
Event  OnAddCustomToolbarButton
Event  OnAddPopupMenuItem
Event  OnAddToolbarButton
Event  OnAddToolbarButtonImage
Event  OnToolbarButtonExecute
Event  OnToolbarButtonUpdate

TImageEnView Layers
Published Property  DefaultLayerEnableFormatting
Published Property  DefaultLayerShape
Published Property  DefaultLayerText
Public Property  LayerCurveQuality
Published Property  LayerFastDrawingEffects
Public Property  LayerPropertiesAdvancedTab
Public Property  LayerPropertiesDialogHeight
Public Property  LayerPropertiesDialogLeft
Public Property  LayerPropertiesDialogTop
Public Property  LayerPropertiesDialogWidth
Public Property  LayerRotationGripMaxDist
Public Property  LayerShadowAlphaThreshold
Public Property  PolygonAutoCloseDistance
Published Property  ThumbnailSize

ImageEn Dialogs
Public Property  ColorDialogCustomColors
Event  DefDialogCenter
Public Property  DefaultDialogFont
Published Property  DefaultPreviewHistogramScale
Published Property  DefaultPreviewsZoomFilter
Published Property  DialogMeasureUnit
Public Property  IOPreviewsDialogHeight
Public Property  IOPreviewsDialogLeft
Public Property  IOPreviewsDialogTop
Public Property  IOPreviewsDialogWidth
Public Property  PreviewAdditionalMultipageExts
Published Property  PreviewImageBackgroundColor
Published Property  PreviewImageBackgroundStyle
Public Property  PrintDialogMarginsIncrement
Public Property  PrintDialogMarginsMinValue
Public Property  UseButtonGlyphsInDialogs

Twain (Acquisition)
Public Property  IsInsideTwain
Public Property  ModelessSelectTwainSource
Public Property  ReleaseTwainResources
Public Property  TwainCropBufferedTransferedImage
Public Property  TwainLoopTimeOut
Public Property  TwainTransferBufferSize

Image Engines
Public Method  ActiveCameraRawEngine
Published Property  CameraRawEngine
Public Method  ActiveJPEGEngine
Published Property  JPEGEngine
Public Method  ActivePNGEngine
Published Property  PNGEngine
Public Method  ActiveJPEG2000Engine
Published Property  JPEG2000Engine

Format Plug-Ins (DLLs)
Public Property  ActivePlugIns
Public Property  DLLLoadingLog
Public Method  LoadSerialFromRegistry
Public Method  RegisterPlugIns
Public Method  SaveSerialToRegistry

Advanced Settings
Public Property  BufferedReadStreamSize
Public Property  DefaultCoresCount
Public Property  DICOMKeepMainImageTag
Public Property  DICOMWindowingStrategy
Public Property  EnableDLLMode
Public Property  EXIFInteroperabilityIndexUsage
Public Property  EXIFMakerNotesHandling
Public Property  ImageProcMaxThreads
Public Property  ImageProcThreadsMinSize
Public Property  JPEG2000SliceMemoryThreshold
Public Property  ObjectsTIFFTag
Public Property  OpenDialogMaxMultiSelFiles
Published Property  MaxImageEMFSize
Public Property  MaxImageEMFMatrixSize
Public Property  ProcessingDelayInterval
Published Property  UnregisteredBanner
Public Property  UseDefaultFileExists
Public Property  UseGDIPlus
Public Property  UseRelativeStreams
Public Property  UTF8EncodeImagingAnnot

System Status (Read-Only)
Public Property  BorderX
Public Property  BorderY
Public Property  CoreCount
Public Property  EdgeX
Public Property  EdgeY
Public Property  HScrollHeight
Public Property  ImageEnModules
Published Property  ImageEnVersion
Public Property  IsRemoteSession
Public Property  OpSys (Windows Version)
Public Property  PointerDeviceCount
Public Property  SystemColors
Public Property  SystemDPIX
Public Property  SystemDPIY
Public Property  VScrollWidth