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
- 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.