ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WEBDEV 2024 feature!
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WLanguageCodeGetCSSDeclarations (Function)
In french: CodeWLangageDonneDéclarationsCSS
Returns a CSS style sheet corresponding to a WLanguage code theme.
Example
CodeFormatting is WLanguageCodeFormatting
CodeFormatting.Format = WLanguageCodeFormatHTML
CodeFormatting.Language = languageFrench
CodeFormatting.IncludeCSSDeclarations = False

HTM_NoName1 = "
<style>[%WLanguageCodeGetCSSDeclarations(WLanguageCodeThemeDark)%]</style>
[%UTF8ToString(WLanguageCodeFormat(CodeFormatting, "s is string"))%]
"
Syntax
<Result> = WLanguageCodeGetCSSDeclarations(<Theme>)
<Result>: Character string
Code of the CSS style sheet used to apply syntax highlighting according to the specified theme.
<Theme>: Integer constant
Theme used for syntax highlighting:
WLanguageCodeThemeDarkDark theme is used.
WLanguageCodeThemeGrayGray theme is used.
WLanguageCodeThemeLightLight theme is used.
Business / UI classification: Neutral code
Component: wd290vm.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/16/2024

Send a report | Local help