|
|
|
|
|
DisplayModePreview (Property) In french: ModeAffichagePrévisualisation
The DisplayModePreview property gets and sets the camera preview mode. Remarks: - This property can only be used on Camera controls that are not in "Version-26-compatible mode".
- This property corresponds to the "Preview mode" option in the "General" tab of the Camera control description window.
IF LIST_Mode = 1 THEN
CAM_MyCamera.DisplayModePreview = camHomotheticCentered
END
Syntax
Getting the camera preview mode Hide the details
<Result> = <Camera control>.DisplayModePreview
<Result>: Integer constant Preview mode currently used for the control:
| | camHomothetic | Scales the preview, respecting the aspect ratio of the source image, so that the preview is fully contained and aligned to the top-left corner of the control. | camHomotheticCentered | Scales the preview, respecting the aspect ratio of the source image, so that the preview is fully contained and centered in the control. | camHomotheticCenteredExtended | Scales the preview, respecting the aspect ratio of the source image, so that the preview is centered and fills the entire control. | camHomotheticExtended | Scales the preview, respecting the aspect ratio of the source image, so that the preview is aligned to the top-left corner and fills the entire control. |
<Camera control>: Control name Name of the Camera control to be used.
Changing the camera preview mode Hide the details
<Camera control>.DisplayModePreview = <New adjustment mode>
<Camera control>: Control name Name of the Camera control to be used. <New adjustment mode>: Integer constant New preview mode used for the control:
| | camHomothetic | Scales the preview, respecting the aspect ratio of the source image, so that the preview is fully contained and aligned to the top-left corner of the control. | camHomotheticCentered | Scales the preview, respecting the aspect ratio of the source image, so that the preview is fully contained and centered in the control. | camHomotheticCenteredExtended | Scales the preview, respecting the aspect ratio of the source image, so that the preview is centered and fills the entire control. | camHomotheticExtended | Scales the preview, respecting the aspect ratio of the source image, so that the preview is aligned to the top-left corner and fills the entire control. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|