Share via


VideoFrame.CreateWithSoftwareBitmap(SoftwareBitmap) メソッド

定義

指定された SoftwareBitmap から VideoFrame クラスの新しいインスタンスを作成します。

public:
 static VideoFrame ^ CreateWithSoftwareBitmap(SoftwareBitmap ^ bitmap);
 static VideoFrame CreateWithSoftwareBitmap(SoftwareBitmap const& bitmap);
public static VideoFrame CreateWithSoftwareBitmap(SoftwareBitmap bitmap);
function createWithSoftwareBitmap(bitmap)
Public Shared Function CreateWithSoftwareBitmap (bitmap As SoftwareBitmap) As VideoFrame

パラメーター

bitmap
SoftwareBitmap

VideoFrame の作成元となる SoftwareBitmap

戻り値

VideoFrame

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

注釈

ビットマップ パラメーターが null の場合は、引数の例外がスローされます。

適用対象