GraphicsCaptureItem.CreateFromVisual(Visual) 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.
Constructs a GraphicsCaptureItem that represents the given Visual.
public:
static GraphicsCaptureItem ^ CreateFromVisual(Visual ^ visual);
static GraphicsCaptureItem CreateFromVisual(Visual const& visual);
public static GraphicsCaptureItem CreateFromVisual(Visual visual);
function createFromVisual(visual)
Public Shared Function CreateFromVisual (visual As Visual) As GraphicsCaptureItem
Parameters
- visual
- Visual
The Visual with which to construct the GraphicsCaptureItem.
Returns
A GraphicsCaptureItem that represents the given Visual.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|