Skip to main content

Motion Standalone Postprocessor C# library 2024 R2

Class JournalService

Last update: 03.07.2024

Namespace: VM.Operations.Post.Utilities
Assembly: VM.Operations.Post.dll

public static class JournalService

Inheritance

objectJournalService

Methods

CreateProperty(string, string, object)

public static string CreateProperty(string script, string propertyName, object value)

Parameters

script string

propertyName string

value object

Returns

string

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

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

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

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

FontWeight instance converted from fontwight​