Пример #1
0
            public string NoteHTMLContent(string noteContent, ENCollection noteResources)
            {
                string content = null;

                try
                {
                    content = ENMLtoHTMLConverter.HTMLFromENMLContent(noteContent, noteResources);
                }
                catch (Exception)
                {
                    ENSDKLogger.ENSDKLogError("Unable to convert note content to HTML");
                }
                return(content);
            }
Пример #2
0
            public string NoteTextContent(string noteContent)
            {
                string          content       = null;
                List <Resource> edamResources = new List <Resource>();

                try
                {
                    content = ENMLtoHTMLConverter.HTMLToText(ENMLtoHTMLConverter.HTMLFromENMLContent(noteContent, edamResources));
                }
                catch (Exception)
                {
                    ENSDKLogger.ENSDKLogError("Unable to convert note content to Text");
                }
                return(content);
            }