Share via


FaceDetector.IsBitmapPixelFormatSupported(BitmapPixelFormat) Method

Definition

Queries whether the specified bitmap pixel format is supported by the FaceDetector on the current device.

public:
 static bool IsBitmapPixelFormatSupported(BitmapPixelFormat bitmapPixelFormat);
 static bool IsBitmapPixelFormatSupported(BitmapPixelFormat const& bitmapPixelFormat);
public static bool IsBitmapPixelFormatSupported(BitmapPixelFormat bitmapPixelFormat);
function isBitmapPixelFormatSupported(bitmapPixelFormat)
Public Shared Function IsBitmapPixelFormatSupported (bitmapPixelFormat As BitmapPixelFormat) As Boolean

Parameters

bitmapPixelFormat
BitmapPixelFormat

The bitmap pixel format for which support is queried.

Returns

Boolean

bool

True if the specified bitmap pixel format is supported; otherwise, false.

Applies to