FontDescriptor Constructor
Constructor that creates a descriptor based on a specified FontStyleSetInfo.
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 ( _
fontStyleSetInfo As FontStyleSetInfo _
)
public FontDescriptor(
FontStyleSetInfo fontStyleSetInfo
)
public:
FontDescriptor(
FontStyleSetInfo^ fontStyleSetInfo
)
new :
fontStyleSetInfo:FontStyleSetInfo -> FontDescriptor
public function FontDescriptor(
fontStyleSetInfo : FontStyleSetInfo
)
Parameters
fontStyleSetInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.FontStyleSetInfoFontStyleSetInfo 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.