ExportToHtml

ParagraphCollection.ExportToHtml method

Converts specifying paragraphs to the HTML and returns it as String object.

public string ExportToHtml(int firstParagraphIndex, int paragraphsCount, 
    ITextToHtmlConversionOptions options)
ParameterTypeDescription
firstParagraphIndexInt32First paragraph index Int32
paragraphsCountInt32Paragraph count Int32
optionsITextToHtmlConversionOptionsConvert options ITextToHtmlConversionOptions

Return Value

Generated HTML.

See Also