nn::camera::CTR::SetTrimming Function

Syntax

void SetTrimming(
     Port port,
     bool enable
);

Parameters

Name Description
in port Specifies which port to change settings for.
in enable Specify TRUE to enable trimming. Specify FALSE to disable it.

Return Values

None.

Description

Enables or disables trimming.

This function does not set any value if it is called during image capture (while the nn::camera::CTR::IsBusy function returns true). If you wish to change the setting, do not call this function until you have used the nn::camera::CTR::StopCapture function to stop capturing and then waited for the nn::camera::CTR::IsBusy function's return value to change to false.

Revision History

2010/06/18
Explained that settings cannot be applied while capturing.
2010/01/07
Initial version.

CONFIDENTIAL