Table of Contents

Method IsSupported

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

IsSupported(IDeviceContext, DeviceContextType, DevicePixelFormat?, DeviceContextUsage?)

public static bool IsSupported(this IDeviceContext deviceContext, DeviceContextType type, DevicePixelFormat? pixelFormat = null, DeviceContextUsage? usage = null)

Parameters

deviceContext IDeviceContext
type DeviceContextType
pixelFormat DevicePixelFormat?
usage DeviceContextUsage?

Returns

bool