Interface IHtmlConverter
Defines methods to add the Html string to document ITextBody.
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.UWP.dll
Syntax
public interface IHtmlConverter
Methods
AppendToTextBody(ITextBody, String, Int32, Int32)
Appends the html string to ITextBody without style at specified index
Declaration
void AppendToTextBody(ITextBody dlsTextBody, string html, int paragraphIndex, int paragraphItemIndex)
Parameters
Type | Name | Description |
---|---|---|
ITextBody | dlsTextBody | The ITextBody to which the string is to be added. |
System.String | html | The HTML string. |
System.Int32 | paragraphIndex | The zero-based index of the paragraph to insert the html string. |
System.Int32 | paragraphItemIndex | The zero-based index of the paragraph item to insert the html string. |
AppendToTextBody(ITextBody, String, Int32, Int32, IWParagraphStyle, ListStyle)
Appends the Html string to ITextBody with style at specified index
Declaration
void AppendToTextBody(ITextBody dlsTextBody, string html, int paragraphIndex, int paragraphItemIndex, IWParagraphStyle style, ListStyle listStyle)
Parameters
Type | Name | Description |
---|---|---|
ITextBody | dlsTextBody | The ITextBody to which the Html string is to be added. |
System.String | html | The Html string. |
System.Int32 | paragraphIndex | The zero-based index of the paragraph to insert the html string. |
System.Int32 | paragraphItemIndex | The zero-based index of the paragraph item to insert the html string. |
IWParagraphStyle | style | The IWParagraphStyle object that specifies the style for the Html string |
ListStyle | listStyle | The ListStyle object that specifies the list style for the Html string |