Skip to main content
A newer version of this page is available.

dxShowCameraDialog

Displays the Camera Preview dialog window.

Unit

dxCameraControl

Overloaded Variants

function dxShowCameraDialog(APicture: TPicture): Boolean; overload;
function dxShowCameraDialog(AGraphic: TGraphic): Boolean; overload;

Pass a reference to an image or a graphic object that will store an image captured using the dialog as the APicture or AGraphic parameter.

The function returns False if the dialog window is closed by any method other than clicking the Assign button. Otherwise, True is returned.