PenDescriptor Class
PenDescriptor class holds the PenStyleSetInfo for a class and an instance of the Pen described by that info (if it's already been created). The PenDescriptor is what gets cached for later use.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | PenDescriptor(PenStyleSetInfo^) | Constructor that creates a descriptor based on a specified PenStyleSetInfo. |
| Name | Description | |
|---|---|---|
![]() | Pen | 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. |
![]() | PenStyleSetInfo | Gets the Pen information for this descriptor. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


