TIEGlobalSettings.TwainDialogCentering
Declaration
property TwainDialogCentering: Integer;
Description
Overides the default behavior for centering of the Twain dialog when it is
displayed.
Value | Description |
0 | Default behavior (dialog may not be centered over the calling form) |
1 | Centering is forced over the calling form once the dialog is displayed (may be slight movement on display) |
2 | Centering is forced on the screen once the dialog is displayed (may be slight movement on display) |
3 | Dialog is centered on the screen |
Default: 2
// Force dialog to be centered over the calling form
IEGlobalSettings().TwainDialogCentering := 1;
// Center dialog on screen
IEGlobalSettings().TwainDialogCentering := 3;
See Also
◼VisibleDialog
◼VisibleDialog