## Flush() {#flush}

Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

```csharp
public void Flush()
```

### See Also

* class [Graphics](../)
* namespace [Aspose.Drawing](../../graphics/)
* assembly [Aspose.Drawing.Common](../../../)

---

## Flush(FlushIntention) {#flush_1}

Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.

```csharp
public void Flush(FlushIntention intention)
```

| Parameter | Type | Description |
| --- | --- | --- |
| intention | FlushIntention | Member of the [`FlushIntention`](../../../aspose.drawing.drawing2d/flushintention/) enumeration that specifies whether the method returns immediately or waits for any existing operations to finish. |

### See Also

* enum [FlushIntention](../../../aspose.drawing.drawing2d/flushintention/)
* class [Graphics](../)
* namespace [Aspose.Drawing](../../graphics/)
* assembly [Aspose.Drawing.Common](../../../)


