## CancelEventArgs::set_Cancel method


Sets value indicating whether the event should be cancelled.

```cpp
void System::ComponentModel::CancelEventArgs::set_Cancel(bool cancel)
```


| Parameter | Type | Description |
| --- | --- | --- |
| cancel | bool | If true, the event should be cancelled, if false, it should not. |

## See Also

* Class [CancelEventArgs](../)
* Namespace [System::ComponentModel](../../)
* Library [Aspose.Font for C++](../../../)
