Method ReleaseDC
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
ReleaseDC(in RectInt32?)
Indicates that drawing with the GDI device context retrieved using the GetDC(DCInitializeMode) method is finished.
void ReleaseDC(in RectInt32? update)
Parameters
update
RectInt32?The modified region of the GDI device context, or
null
to specify the entire Direct2D device context.
Remarks
ReleaseDC(in RectInt32?) must be called once for each call to GetDC(DCInitializeMode).