Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal fontFamily As String, _ ByVal fontSize As Double, _ ByVal fontStyle As FontStyle, _ ByVal fontStretch As FontStretch, _ ByVal fontWeight As FontWeight _ ) |
C# | |
---|---|
public DisplayFontInfo( string fontFamily, double fontSize, FontStyle fontStyle, FontStretch fontStretch, FontWeight fontWeight ) |
C++/CLI | |
---|---|
public: DisplayFontInfo( String^ fontFamily, double fontSize, FontStyle fontStyle, FontStretch fontStretch, FontWeight fontWeight ) |
Parameters
- fontFamily
- Font family
- fontSize
- Font size in pixels (96/inch).
- fontStyle
- Font style
- fontStretch
- Font stretch
- fontWeight
- Font weight
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)