NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PenStyle Enumeration

Defines different styles that a pen can be created with.

[Visual Basic]
Public Enum PenStyle
[C#]
public enum PenStyle
[C++]
public enum PenStyle

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Members

Member Name Description
Dash Pen style that consists of a series of dashed lines:--------
DashDot Pen style that consists of a dash, followed by a dot: _ . _ . _ .
DashDotDot Pen style that consists of a dash, followed by two dots: _ . . _ . . _ . .
Dot Pen style that consists of a dotted line: ...........
InsideFrame This style creates a solid pen that will be drawn from within any given bounding rectangle. Using this style allows you to have a wide pen that automatically conforms to the interior of a rectangle.
Max [To be supplied.]
Min [To be supplied.]
Null A "null" pen is a pen that doesn't draw at all. This is useful when you have a function that always draws a border, but you don't want the border.
Solid Pen style that consists of a solid line: ___________

Requirements

Namespace: System.Drawing

Assembly: System.Drawing.dll

See Also

System.Drawing Namespace | Pen