Table of Contents

Property AllowHardwareRendering

Namespace
PaintDotNet.Controls
Assembly
PaintDotNet.Framework.dll

AllowHardwareRendering

Specifies whether to allow hardware-accelerated rendering. This can be overridden by user-controlled app settings to force software rendering, and may be disabled for other reasons as well.
The default value is true. For small controls, like buttons or text labels, it is recommended to set this to false. Hardware accelerated rendering should typically be reserved for larger controls, such as the main control or canvas contained in a top-level window (Form).

public bool AllowHardwareRendering { get; set; }

Property Value

bool