←Select platform

Resolution Property

Summary

Gets and sets camera's output resolution.

Syntax

C#
LeadSize Resolution {get; set;}  

Property Value

A LeadSize object representing the camera's resolution.

Remarks

Be sure to set the CaptureQuality to CaptureQuality.Custom—otherwise, resolution values will be ignored.

Example

C#
CameraView view = new CameraView(); 
view.Camera.CaptureQuality = CaptureQuality.Custom; 
view.Camera.Resolution = new LeadSize(1920, 1080); 

Requirements

Target Platforms

See Also

ICamera Class

ICamera Members

ICamera

Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Camera.Xamarin Assembly