The Preview Control connects to a Web(USB) camera and displays video. It provides properties, methods, and events to open start, stop, pause, and resume the video. Snapshot can be taken from the video.
* This control is a Delphi control. It cannot be used in C+Builder.

Inheritance
TCustomControl

Unit
IkPreview

 

Property List

 

Custom Properties Explanation
Appearance Sets the appearance of the Preview Control's border
BitCount Refers to the number of bits per pixel
BorderColor Sets the color of Preview Control's the border.
BorderVisible Sets whether or not the border of the Preview Control is displayed
Color Sets the background color for the Preview Control
Compression Refers to the compression format of the bitmap
Cursor Sets the shape of the mouse cursor when the mouse is within the Preview Control
Enabled Sets whether or not the mouse and keyboard events of the Preview Control are enabled
ErrorStatus Retrieves the type of error that has occurred
FrameRate Sets the frame rate
Handle Refers to the window handle of the Preview Control
MaximumFrameRate The maximum frame rate
MinimumFrameRate The minimum frame rate
State Retrieves the current state of the Preview Control
VideoDevices Retrieves the name of the video device
VideoSize Retrieves the height and width of the video
VideoSubType The GUID string that specifies the subtype of the media sample

 

Differences from ImageKit10 ActiveX

Properties that have been deleted: MouseCursorFile

Properties that have been changed:
BackColor --> Color
HWND --> Handle
MouseCursorType --> Cursor
VideoHeight, VideoWidth --> VideoSize

 

Method List

 

Custom Method Explanation
Close Closes the video file
GetStreamFormat Retrieves the specified format function
GetStreamFormats Retrieves the specified set of format functions
GetVideoDevices Retrieves the video device name
Open Connects to the Web(USB) camera in preview mode
Pause Pauses the preview or restarts a paused preview
SetStreamFormat Sets the specified format functions
ShowCapturePinDialog Displays the capture pin dialog
ShowFilterDialog Displays the filter dialog
Start Starts the preview
Stop Stops the preview
TakeSnapshot Takes a snapshot from the preview

 

Event List

 

Custom Event Explanation
Snapshot Generated when a snapshot is taken from the preview

 

The ImageKit10 VCL is a product created by Newtone Corporation