Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IHtmlConverter

    Show / Hide Table of Contents

    Interface IHtmlConverter

    Defines methods to add the Html string to document ITextBody.

    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.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

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved