ID2D1RenderTarget::IsSupported(constD2D1_RENDER_TARGET_PROPERTIES*) method (d2d1.h)
Indicates whether the render target supports the specified properties.
Syntax
BOOL IsSupported(
[in] const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties
);
Parameters
[in] renderTargetProperties
Type: const D2D1_RENDER_TARGET_PROPERTIES*
The render target properties to test.
Return value
Type: BOOL
TRUE if the specified render target properties are supported by this render target; otherwise, FALSE.
Remarks
This method does not evaluate the DPI settings specified by the renderTargetProperties parameter.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1.h |
Library | D2d1.lib |
DLL | D2d1.dll |