WmfPenStyle Enumeration
The 16-bit PenStyle Enumeration is used to specify different types of pens that can be used in graphics operations.

Namespace: Aspose.Imaging.FileFormats.Wmf.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
public enum WmfPenStyle
  Member nameValueDescription
Cosmetic0 The cosmetic
EndcapRound0 The line end caps are round.
JoinRound0 Line joins are round.
Solid0 The pen is solid.
Dash1 The pen is dashed.
Dot2 The pen is dotted.
Dashdot3 The pen has alternating dashes and dots.
Dashdotdot4 The pen has dashes and double dots.
Null5 The pen is invisible.
Insideframe6 The pen is solid. When this pen is used in any drawing record that takes a bounding rectangle, the dimensions of the figure are shrunk so that it fits entirely in the bounding rectangle, taking into account the width of the pen.
Userstyle7 The pen uses a styling array supplied by the user.
Alternate8 The pen sets every other pixel (this style is applicable only for cosmetic pens).
EndcapSquare256 Line end caps are square.
EndcapFlat512 Line end caps are flat.
JoinBevel4096 Line joins are beveled.
JoinMiter8192 Line joins are mitered when they are within the current limit set by the SETMITERLIMIT META_ESCAPE record. A join is beveled when it would exceed the limit.
See Also