Table of Contents

Method IsSupported

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

IsSupported(in DeviceContextProperties)

Indicates whether the device context supports the specified properties.

bool IsSupported(in DeviceContextProperties deviceContextProperties)

Parameters

deviceContextProperties DeviceContextProperties

The render target properties to test.

Returns

bool

true if the specified device context properties are supported by this device context.

Remarks

This method does not evaluate the DPI settings specified by the deviceContextProperties parameter.