Exemplo n.º 1
0
        private void LoadEmbeddedResourceFont(string resourceName)
        {
            string fileName = tempFontsFolder + resourceName;

            if (ResourcesUtils.WriteResourceToFile(resourceName, fileName))
            {
                pfc.AddFontFile(fileName);
            }
        }
Exemplo n.º 2
0
 private bool IsFontEmbeddedResource(string resourceName)
 {
     return(ResourcesUtils.EmbeddedResourceExists(null, resourceName));
 }