Пример #1
0
        private void LoadEmbeddedResourceFont(string resourceName)
        {
            string fileName = tempFontsFolder + resourceName;

            if (ResourcesUtils.WriteResourceToFile(resourceName, fileName))
            {
                pfc.AddFontFile(fileName);
            }
        }
Пример #2
0
 private bool IsFontEmbeddedResource(string resourceName)
 {
     return(ResourcesUtils.EmbeddedResourceExists(null, resourceName));
 }