Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsFontFamilyMBS class.
WindowsFontFamilyMBS.AllFonts as WindowsFontFamilyMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Font list is queried from OS and not cached, so this should update if new fonts are activated.
Uses EnumFontFamiliesW function, see
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesw
See also:
Some examples using this method:
WindowsFontFamilyMBS.AllFonts(fonts() as WindowsFontFamilyMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Fonts | MBS Win Plugin | 11.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns the number of fonts found and sets the font objects in the array.
if the array is too short, you get the first ubound(fonts)+1 fonts set there.
Font list is queried from OS and not cached, so this should update if new fonts are activated.
See also:
WindowsFontFamilyMBS.AllFontsEx as WindowsFontFamilyMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Fonts | MBS Win Plugin | 20.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Font list is queried from OS and not cached, so this should update if new fonts are activated.
Uses EnumFontFamiliesExW function, see
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexw
WindowsFontFamilyMBS.FontsOfFamily(family as string) as WindowsFontFamilyMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Fonts | MBS Win Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
See also:
Some examples using this method:
WindowsFontFamilyMBS.FontsOfFamily(family as string, fonts() as WindowsFontFamilyMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Fonts | MBS Win Plugin | 11.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns the number of fonts found and sets the font objects in the array.
if the array is too short, you get the first ubound(fonts)+1 fonts set there.
See also:
The items on this page are in the following plugins: MBS Win Plugin.