Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructor that creates a descriptor based on a specified PenStyleSetInfo.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    penStyleSetInfo As PenStyleSetInfo _
)
public PenDescriptor(
    PenStyleSetInfo penStyleSetInfo
)
public:
PenDescriptor(
    PenStyleSetInfo^ penStyleSetInfo
)
new : 
        penStyleSetInfo:PenStyleSetInfo -> PenDescriptor
public function PenDescriptor(
    penStyleSetInfo : PenStyleSetInfo
)
Parameters
- penStyleSetInfo 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.PenStyleSetInfo- PenStyleSetInfo to create this descriptor for. 
.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.