Example #1
0
        private string GetFilePath(string path)
        {
            Uri fileUri = null;

            try
            {
                fileUri = new Uri(path);
                if (fileUri.Scheme == AssemblyScheme)
                {
                    return(HtmlElementUtils.ExtractResource(fileUri));
                }
            }
            catch
            { }
            return(GetPathForSystemFile(path));
        }