Share via


CodeGenerationUtilities.GenerateFontStyle(FontStyle) Method

Definition

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

public:
 static System::String ^ GenerateFontStyle(System::Drawing::FontStyle fontSettings);
public static string GenerateFontStyle (System.Drawing.FontStyle fontSettings);
static member GenerateFontStyle : System.Drawing.FontStyle -> string
Public Shared Function GenerateFontStyle (fontSettings As FontStyle) As String

Parameters

fontSettings
FontStyle

Returns

Applies to