VideoFrame Constructors
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
VideoFrame(BitmapPixelFormat, Int32, Int32) |
Initializes a new instance of the VideoFrame class. |
VideoFrame(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode) |
Initializes a new instance of the VideoFrame class. |
VideoFrame(BitmapPixelFormat, Int32, Int32)
Initializes a new instance of the VideoFrame class.
public:
VideoFrame(BitmapPixelFormat format, int width, int height);
VideoFrame(BitmapPixelFormat const& format, int const& width, int const& height);
public VideoFrame(BitmapPixelFormat format, int width, int height);
function VideoFrame(format, width, height)
Public Sub New (format As BitmapPixelFormat, width As Integer, height As Integer)
Parameters
- format
- BitmapPixelFormat
The pixel format of the video frame.
- width
-
Int32
int
The width of the video frame, in pixels.
- height
-
Int32
int
The height of the video frame, in pixels.
See also
Applies to
VideoFrame(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)
Initializes a new instance of the VideoFrame class.
public:
VideoFrame(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha);
VideoFrame(BitmapPixelFormat const& format, int const& width, int const& height, BitmapAlphaMode const& alpha);
public VideoFrame(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha);
function VideoFrame(format, width, height, alpha)
Public Sub New (format As BitmapPixelFormat, width As Integer, height As Integer, alpha As BitmapAlphaMode)
Parameters
- format
- BitmapPixelFormat
The pixel format of the video frame.
- width
-
Int32
int
The width of the video frame, in pixels.
- height
-
Int32
int
The height of the video frame, in pixels.
- alpha
- BitmapAlphaMode
The alpha mode of the video frame.