コード例 #1
0
 /// <summary>
 /// Adds a new text geometry with the given text.
 /// </summary>
 internal static GeometryResource AddTextGeometry(this ResourceDictionary resourceDictionary, NamedOrGenericKey resourceKey, string textToAdd)
 {
     return(resourceDictionary.AddTextGeometry(resourceKey, textToAdd, TextGeometryOptions.Default));
 }
コード例 #2
0
 /// <summary>
 /// Adds a new text geometry with the given text.
 /// </summary>
 internal static GeometryResource AddTextGeometry(this ResourceDictionary resourceDiciontary, string textToAdd)
 {
     return(resourceDiciontary.AddTextGeometry(textToAdd, TextGeometryOptions.Default));
 }