Table of Contents

Method ClearResources

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

ClearResources(int)

Clears all of the rendering resources used by Direct2D.

void ClearResources(int millisecondsSinceUse = 0)

Parameters

millisecondsSinceUse int

Discards only resources that haven't been used for greater than the specified time in milliseconds. The default is 0 milliseconds.