This property allows you to limit the ImageKit Control to displaying only to the base image

[C++Builder]   imagekitcontrolname->SimpleDispCtrl= bool ]
[Delphi]   imagekitcontrolname.SimpleDispCtrl= Boolean ]

Property Value

Value Explanation
True Limits the ImageKit Control to displaying only the base image.
False (default) ImageKit Control functionality is as normal which means it can display the, background image, the base image and the various image layer images.

Explanation

The SimpleDispCtrl property allows you to limit the ImageKit Control to displaying only to the base image. The default value is False.

When not using the editing functionality (either the Image Editing Toolbars or the ImageHdc property) or when not displaying multiple image layers, setting the SimpleDispCtrl property to True results in increased speed displaying images. When the SimpleDispCtrl property is True, the Grid functionality is disabled. (The base image refers to the image set in the ImageHandle property)

Sample code to limit the ImageKit Control to only the base image...

In C++Builder:

    VImageKit1->LayerNo = -1;
    VImageKit1->DisplayMode = vikActualSize;
    VImageKit1->FileIO.FileName = 'c:\\abc.jpg';
    VImageKit1->FileIO.LoadFile(vikLoad)
    VImageKit1->Edit.EditEnable = false;
    VImageKit1->SimpleDispCtrl = true;
    VImageKit1->DisplayImage();  //Disabled when AutoDisplay is true

 

In Delphi:

    VImageKit1.LayerNo := -1;
    VImageKit1.DisplayMode := vikActualSize;
    VImageKit1.FileIO.FileName := 'c:\abc.jpg';
    VImageKit1.FileIO.LoadFile(vikLoad)
    VImageKit1.Edit.EditEnable := False;
    VImageKit1.SimpleDispCtrl := True;
    VImageKit1.DisplayImage();  //Disabled when AutoDisplay is True

Setting this value

This value can be set at design-time and run-time.

Retrieving this value

This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation