Pen.DashCap
Pen.DashCap property
Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this Pen.
public DashCap DashCap { get; set; }
Return Value
One of the DashCap values that represents the cap style used at the beginning and end of the dashes that make up dashed lines drawn with this Pen.
Exceptions
| exception | condition |
|---|---|
| InvalidEnumArgumentException | The specified value is not a member of DashCap. |
| ArgumentException | The DashCap property is set on an immutable Pen, such as those returned by the Pens class. |
See Also
- enum DashCap
- class Pen
- namespace Aspose.Page.Drawing
- assembly Aspose.Page