VideoDevice.GetPixelFormatResolutions Method
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.
Overloads
GetPixelFormatResolutions(PixelFormat) |
Get all the resolutions supported by the specified pixel format. |
GetPixelFormatResolutions(VideoPixelFormat) |
Get all the resolutions supported by the specified pixel format. |
GetPixelFormatResolutions(PixelFormat)
Get all the resolutions supported by the specified pixel format.
public abstract System.Collections.Generic.IEnumerable<(uint Width, uint Height)> GetPixelFormatResolutions (Iot.Device.Media.PixelFormat format);
public abstract System.Collections.Generic.IEnumerable<Iot.Device.Media.Resolution> GetPixelFormatResolutions (Iot.Device.Media.PixelFormat format);
abstract member GetPixelFormatResolutions : Iot.Device.Media.PixelFormat -> seq<ValueTuple<uint32, uint32>>
abstract member GetPixelFormatResolutions : Iot.Device.Media.PixelFormat -> seq<Iot.Device.Media.Resolution>
Public MustOverride Function GetPixelFormatResolutions (format As PixelFormat) As IEnumerable(Of ValueTuple(Of UInteger, UInteger))
Public MustOverride Function GetPixelFormatResolutions (format As PixelFormat) As IEnumerable(Of Resolution)
Parameters
- format
- PixelFormat
Pixel format.
Returns
Supported resolution.
Applies to
GetPixelFormatResolutions(VideoPixelFormat)
Get all the resolutions supported by the specified pixel format.
public abstract System.Collections.Generic.IEnumerable<Iot.Device.Media.Resolution> GetPixelFormatResolutions (Iot.Device.Media.VideoPixelFormat format);
abstract member GetPixelFormatResolutions : Iot.Device.Media.VideoPixelFormat -> seq<Iot.Device.Media.Resolution>
Public MustOverride Function GetPixelFormatResolutions (format As VideoPixelFormat) As IEnumerable(Of Resolution)
Parameters
- format
- VideoPixelFormat
Pixel format.
Returns
Supported resolution.