ValueTuple<string,string> DefaultFont {get;}
ReadOnly Property DefaultFont As ValueTuple(Of String,String)
ValueTuple<string,string> DefaultFont {get;}
ReadOnly Property DefaultFont As ValueTuple(Of String,String)
{
var def_font = SymbolFactory.Instance.DefaultFont;
System.Diagnostics.Debug.WriteLine($"{def_font.fontName}, styles: {def_font.styleName}");
//set default font - set through application options
await QueuedTask.Run(() =>
{
ApplicationOptions.TextAndGraphicsElementsOptions.SetDefaultFont("tahoma");
ApplicationOptions.TextAndGraphicsElementsOptions.SetDefaultFont("tahoma", "bold");
});
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)