WmfPenStyle

WmfPenStyle enumeration

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

public enum WmfPenStyle : short

Values

NameValueDescription
Cosmetic0The cosmetic
EndcapRound0The line end caps are round.
JoinRound0Line joins are round.
Solid0The pen is solid.
Dash1The pen is dashed.
Dot2The pen is dotted.
Dashdot3The pen has alternating dashes and dots.
Dashdotdot4The pen has dashes and double dots.
Null5The pen is invisible.
Insideframe6The 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.
Userstyle7The pen uses a styling array supplied by the user.
Alternate8The pen sets every other pixel (this style is applicable only for cosmetic pens).
EndcapSquare256Line end caps are square.
EndcapFlat512Line end caps are flat.
JoinBevel4096Line joins are beveled.
JoinMiter8192Line 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