---
title: "EmfPlusPenOptionalData.LineStyle"
url: "https://reference.aspose.com/imaging/net/aspose.imaging.fileformats.emf.emfplus.objects/emfpluspenoptionaldata/linestyle/"
product: "Aspose.Imaging for .NET API Reference"
description: "EmfPlusPenOptionalData property. Gets or sets optional 32bit signed integer that specifies the style used for lines drawn with this pen object. This field MUST be present if the PenDataLineStyle flag is set in the PenDataFlags field of the EmfPlusPenData object and the value MUST be defined in the LineStyle enumeration section 2.1.1.20"
---

## EmfPlusPenOptionalData.LineStyle property

Gets or sets optional 32-bit signed integer that specifies the style used for lines drawn with this pen object. This field MUST be present if the PenDataLineStyle flag is set in the PenDataFlags field of the EmfPlusPenData object, and the value MUST be defined in the LineStyle enumeration (section 2.1.1.20).

```csharp
public EmfPlusLineStyle LineStyle { get; set; }
```

### See Also

* enum [EmfPlusLineStyle](../../../aspose.imaging.fileformats.emf.emfplus.consts/emfpluslinestyle/)
* class [EmfPlusPenOptionalData](../)
* namespace [Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects](../../emfpluspenoptionaldata/)
* assembly [Aspose.Imaging](../../../)


