Exporting an entire Document to HTML is pretty straight forward. Is there a way to convert just a paragraph or group of paragraphs to HTML?
Thanks in advance.
Exporting an entire Document to HTML is pretty straight forward. Is there a way to convert just a paragraph or group of paragraphs to HTML?
Hi,
StringBuilder sb = new StringBuilder();
foreach (Paragraph para in doc.GetChildNodes(NodeType.Paragraph, true))
sb.Append(para.ToString(SaveFormat.Html));
Thanks, that’s exactly what I needed. I overlooked the overloaded methods of ToString.