CameraCaptureUIPhotoCaptureSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides settings for capturing photos with CameraCaptureUI.
public ref class CameraCaptureUIPhotoCaptureSettings sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.Media.Capture.CameraCaptureUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Media.Capture.CameraCaptureUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CameraCaptureUIPhotoCaptureSettings final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.Media.Capture.CameraCaptureUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Media.Capture.CameraCaptureUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CameraCaptureUIPhotoCaptureSettings
function CameraCaptureUIPhotoCaptureSettings()
Public NotInheritable Class CameraCaptureUIPhotoCaptureSettings
- Inheritance
- Attributes
Constructors
CameraCaptureUIPhotoCaptureSettings() |
Initializes a new instance of CameraCaptureUIPhotoCaptureSettings. |
Properties
AllowCropping |
Gets or sets a value specifying whether the CameraCaptureUI provides controls that allow the user to crop a photo after it has been captured. |
CroppedAspectRatio |
Gets or sets the aspect ratio constraint when cropping the captured photo. |
CroppedSizeInPixels |
Gets or sets the exact size constraint, in pixels, when cropping the captured photo. |
Format |
Gets or sets a value from the CameraCaptureUIPhotoFormat enumeration that specifies the file format of the captured photo. |
MaxResolution |
Gets or sets a value from the CameraCaptureUIMaxPhotoResolution enumeration that specifies the maximum resolution the user will be able to select in the camera capture UI for photo capture. |