Compartilhar via


PenDescriptor.Pen Property

Definition

Gets a cloned instance of the Pen defined by this descriptor. If the pen has not been previously created, it creates it first. This is a singleton. Do not dispose - this will crash! Use immediately.

public:
 property System::Drawing::Pen ^ Pen { System::Drawing::Pen ^ get(); };
public System.Drawing.Pen Pen { get; }
member this.Pen : System.Drawing.Pen
Public ReadOnly Property Pen As Pen

Property Value

Pen

A Pen defined by this descriptor.

Applies to