Pen.PenType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the style of lines drawn with this Pen.
public:
property System::Drawing::Drawing2D::PenType PenType { System::Drawing::Drawing2D::PenType get(); };
public System.Drawing.Drawing2D.PenType PenType { get; }
member this.PenType : System.Drawing.Drawing2D.PenType
Public ReadOnly Property PenType As PenType
Property Value
A PenType enumeration that specifies the style of lines drawn with this Pen.
Remarks
A Pen can draw solid lines, filled lines, or textured lines, depending on the style specified by a member of the PenType enumeration.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.