## Dash class


Class representing line dash pattern.

```cpp
class Dash : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [Dash](./dash/)(int32_t, int32_t) | Constructor for [Dash](./). Defines dashed border with specified dash and gap, which are unchanged for the entire dashed border. |
| [Dash](./dash/)(const System::ArrayPtr\<int32_t\>\&) | Constructor for [Dash](./). Defines a pattern of dashes and gaps that shall be used in drawing a dashed border. |
| [get_Off](./get_off/)() | Gets length of first gap between dashes. |
| [get_On](./get_on/)() | Gets length of first dash. |
| [get_Pattern](./get_pattern/)() const | Gets dash array defining a pattern of dashes and gaps that shall be used in drawing a dashed border. |
| [set_Off](./set_off/)(int32_t) | Sets length of first gap between dashes. |
| [set_On](./set_on/)(int32_t) | Sets length of first dash. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pdf::Annotations](../)
* Library [Aspose.PDF for C++](../../)
