Class JournalService
Last update: 16.07.2025Namespace: VM.Operations.Post.Utilities
Assembly: VM.Operations.Post.dll
public static class JournalService
Inheritance
Methods
CreateProperty(string, string, object)
public static string CreateProperty(string script, string propertyName, object value)
Parameters
script string
propertyName string
value object
Returns
GetColorFromHexCode(string)
Convert from hex color code to System.Windows.Media.Color
public static Color GetColorFromHexCode(string color)
Parameters
color string
Hex color code
Returns
Color instance converted from hex color code
GetFontFaceFromString(string)
Convert from fontface to System.Windows.Media.FontFamily
public static FontFamily GetFontFaceFromString(string fontface)
Parameters
fontface string
The type of fontface
Returns
FontFamily instance converted from fontface
GetFontStyleFromString(string)
Convert from fontstyle to System.Windows.Media.FontStyle
public static FontStyle GetFontStyleFromString(string fontstyle)
Parameters
fontstyle string
The type of fontstyle
Returns
FontStyle instance converted from fontstyle
GetFontWeightFromString(string)
Convert from fontweight to System.Windows.Media.FontWeight
public static FontWeight GetFontWeightFromString(string fontweight)
Parameters
fontweight string
The type of font weight
Returns
FontWeight instance converted from fontwight