PenDescriptor.Pen Property
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.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public ReadOnly Property Pen As Pen
Get
public Pen Pen { get; }
public:
property Pen^ Pen {
Pen^ get ();
}
member Pen : Pen
function get Pen () : Pen
Property Value
Type: System.Drawing.Pen
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.