Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.26 KB

barcodescannerproviderconnection_createframereaderasync_717174601.md

File metadata and controls

29 lines (20 loc) · 1.26 KB
-api-id -api-type ms.custom
M:Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection.CreateFrameReaderAsync(Windows.Graphics.Imaging.BitmapPixelFormat)
winrt method
RS5

Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection.CreateFrameReaderAsync

-description

Creates a new BarcodeScannerFrameReader instance that returns frames in the preferred format when possible.

-parameters

-param preferredFormat

The preferred image format as a BitmapPixelFormat.

-returns

A new BarcodeScannerFrameReader instance that reads frames from this BarcodeScannerProviderConnection.

-remarks

If the requested format cannot be returned by the camera, frames will be returned using a default supported format. To ensure that the returned frames conform to a particular format, check the Format property on the returned BarcodeScannerVideoFrame objects.

-see-also

-examples