Пример #1
0
 public string GetDocumentText(
     string externalImagesFolderPath,
     bool useImagesFolderPathPlaceHolder)
 {
     return
         (_htmlConversionHelper.ConvertGetHtml(
              DocumentText,
              Document == null ? null : Document.Url,
              externalImagesFolderPath,
              useImagesFolderPathPlaceHolder ? HtmlImageHelper.ImagesFolderPathPlaceHolder : null));
 }
        public string GetDocumentText(
            string externalImagesFolderPath,
            bool useImagesFolderPathPlaceHolder = false)
        {
            var result =
                _htmlConversionHelper.ConvertGetHtml(
                    DocumentText,
                    EverInitialized ? Document?.Url : null,
                    externalImagesFolderPath,
                    useImagesFolderPathPlaceHolder ? HtmlImageHelper.ImagesFolderPathPlaceHolder : null);

            return(result);
        }