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); }
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); }