MediaPlayer.SetSurfaceSize(Size) 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.
Sets the size of the composition surface returned by GetSurface.
public:
virtual void SetSurfaceSize(Size size) = SetSurfaceSize;
void SetSurfaceSize(Size const& size);
public void SetSurfaceSize(Size size);
function setSurfaceSize(size)
Public Sub SetSurfaceSize (size As Size)
Parameters
- size
- Size
An object representing the size of the composition surface.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
The default size for the composition surface returned by GetSurface is 640x480, in pixels.