menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ITextBody - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface ITextBody

    Interface publish section functionality

    Inherited Members
    IEntityBase.Document
    IEntityBase.Owner
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public interface ITextBody : IEntityBase

    Properties

    Paragraphs

    Gets inner paragraphs.

    Declaration
    IParagraphCollection Paragraphs { get; }
    Property Value
    Type
    IParagraphCollection

    Methods

    AddParagraph()

    Adds paragraph at the end of section.

    Declaration
    IParagraph AddParagraph()
    Returns
    Type
    IParagraph

    InsertHTML(String)

    Inserts html at end of text body.

    Declaration
    void InsertHTML(string html)
    Parameters
    Type Name Description
    System.String html

    InsertHTML(String, Int32)

    Inserts html begins from paragraph specified by paragraphIndex.

    Declaration
    void InsertHTML(string html, int paragraphIndex)
    Parameters
    Type Name Description
    System.String html
    System.Int32 paragraphIndex

    InsertHTML(String, Int32, Int32)

    Inserts html begining from paragraph specified by paragraphIndex, and after paragraph item specified by paragraphItemIndex.

    Declaration
    void InsertHTML(string html, int paragraphIndex, int paragraphItemIndex)
    Parameters
    Type Name Description
    System.String html
    System.Int32 paragraphIndex
    System.Int32 paragraphItemIndex
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved