CanvasDrawingSessionFlush Method |
Namespace: Microsoft.Graphics.Canvas
public void Flush()
In normal usage it is not necessary to call Flush, since the Flush happens automatically when you close the drawing session.
There's a cost associated with each command submitted to the graphics device, so the drawing session groups together multiple drawing operations into batches. When the drawing session is closed the last batch is sent to the device. This method can be used to force all pending commands to be sent to the device without closing the session.