Turns the DirectX Hardware Acceleration on.
public static void ForceDirectXPaint()
static Public Sub ForceDirectXPaint()
Enabling the DirectX hardware acceleration imposes certain restrictions on the available API. Read this documentation article before turning on this rendering mode.