CodeGenerationUtilities.GenerateFontStyle Method

Create the correct syntax for initializing a font's style.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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: FontStyle

Return Value

Type: String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace