CodeGenerationUtilities.GenerateFontStyle Method
Create the correct syntax for initializing a font's style.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Function GenerateFontStyle ( _
fontSettings As FontStyle _
) As String
public static string GenerateFontStyle(
FontStyle fontSettings
)
public:
static String^ GenerateFontStyle(
FontStyle fontSettings
)
static member GenerateFontStyle :
fontSettings:FontStyle -> string
public static function GenerateFontStyle(
fontSettings : FontStyle
) : String
Parameters
- fontSettings
Type: System.Drawing.FontStyle
Return Value
Type: System.String
.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.