Table of Contents

Enum DeviceContextUsage

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Describes how a device context is remoted and whether it should be GDI-compatible. This enumeration allows a bitwise combination of its member values.
D2D1_RENDER_TARGET_USAGE

[Flags]
public enum DeviceContextUsage

Fields

None = 0

The render target attempts to use Direct3D command-stream remoting and uses bitmap remoting if stream remoting fails. The render target is not GDI-compatible.

ForceBitmapRemoting = 1

The render target renders content locally and sends it to the terminal services client as a bitmap.

GdiCompatible = 2

The render target can be used efficiently with GDI.