Releases the Direct2D device, its device context and bitmaps, and the DirectWrite font faces; the renderer renders no more after this.
public void Dispose()