**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class EmfPlusPenDataFlags extends System.Enum
```

The PenData flags specify properties of graphics pens, including the presence of optional data fields. These flags can be combined to specify multiple options.

--------------------

Graphics pens are specified by [EmfPlusPen](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspen) objects.
## Fields

| Field | Description |
| --- | --- |
| [PenDataTransform](#PenDataTransform) | If set, a 2x3 transform matrix MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataStartCap](#PenDataStartCap) | If set, the style of a starting line cap MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataEndCap](#PenDataEndCap) | Indicates whether the style of an ending line cap MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataJoin](#PenDataJoin) | Indicates whether a line join type MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataMiterLimit](#PenDataMiterLimit) | Indicates whether a miter limit MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataLineStyle](#PenDataLineStyle) | Indicates whether a line style MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataDashedLineCap](#PenDataDashedLineCap) | Indicates whether a dashed line cap MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataDashedLineOffset](#PenDataDashedLineOffset) | Indicates whether a dashed line offset MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataDashedLine](#PenDataDashedLine) | Indicates whether an [EmfPlusDashedLineData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfplusdashedlinedata) object MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataNonCenter](#PenDataNonCenter) | Indicates whether a pen alignment MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataCompoundLine](#PenDataCompoundLine) | Indicates whether the length and content of a [EmfPlusCompoundLineData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscompoundlinedata) object are present in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataCustomStartCap](#PenDataCustomStartCap) | Indicates whether an [EmfPlusCustomStartCapData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscustomstartcapdata) object MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
| [PenDataCustomEndCap](#PenDataCustomEndCap) | Indicates whether an [EmfPlusCustomEndCapData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscustomendcapdata) object MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object. |
### PenDataTransform {#PenDataTransform}
```
public static final int PenDataTransform
```


If set, a 2x3 transform matrix MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataStartCap {#PenDataStartCap}
```
public static final int PenDataStartCap
```


If set, the style of a starting line cap MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataEndCap {#PenDataEndCap}
```
public static final int PenDataEndCap
```


Indicates whether the style of an ending line cap MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataJoin {#PenDataJoin}
```
public static final int PenDataJoin
```


Indicates whether a line join type MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataMiterLimit {#PenDataMiterLimit}
```
public static final int PenDataMiterLimit
```


Indicates whether a miter limit MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataLineStyle {#PenDataLineStyle}
```
public static final int PenDataLineStyle
```


Indicates whether a line style MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataDashedLineCap {#PenDataDashedLineCap}
```
public static final int PenDataDashedLineCap
```


Indicates whether a dashed line cap MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataDashedLineOffset {#PenDataDashedLineOffset}
```
public static final int PenDataDashedLineOffset
```


Indicates whether a dashed line offset MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataDashedLine {#PenDataDashedLine}
```
public static final int PenDataDashedLine
```


Indicates whether an [EmfPlusDashedLineData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfplusdashedlinedata) object MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataNonCenter {#PenDataNonCenter}
```
public static final int PenDataNonCenter
```


Indicates whether a pen alignment MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataCompoundLine {#PenDataCompoundLine}
```
public static final int PenDataCompoundLine
```


Indicates whether the length and content of a [EmfPlusCompoundLineData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscompoundlinedata) object are present in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataCustomStartCap {#PenDataCustomStartCap}
```
public static final int PenDataCustomStartCap
```


Indicates whether an [EmfPlusCustomStartCapData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscustomstartcapdata) object MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

### PenDataCustomEndCap {#PenDataCustomEndCap}
```
public static final int PenDataCustomEndCap
```


Indicates whether an [EmfPlusCustomEndCapData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscustomendcapdata) object MUST be specified in the OptionalData field of an [EmfPlusPenData](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluspendata) object.

