BrushObject.GetPen(Single) Method

Gets a System.Drawing.Pen object that is set up in the same manner as the current object.

Namespace: DevExpress.XtraGauges.Core.Drawing

Assembly: DevExpress.XtraGauges.v20.1.Core.dll

Declaration

public Pen GetPen(
    float width
)
Public Function GetPen(
    width As Single
) As Pen

Parameters

Name Type Description
width Single

A Single value that identifies the pen's width.

Returns

Type Description
Pen

A System.Drawing.Pen object that is set up in the same manner as the current object.

See Also