menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ParagraphItem

    Show / Hide Table of Contents

    Class ParagraphItem

    Provides the base implementation for all paragraph items.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    Entity
    WidgetBase
    ParagraphItem
    BookmarkEnd
    BookmarkStart
    Break
    InlineContentControl
    ShapeCommon
    ShapeObject
    TableOfContent
    Watermark
    WComment
    WCommentMark
    WFieldMark
    WFootnote
    WMath
    WOleObject
    WPicture
    WSymbol
    WTextBox
    WTextRange
    Implements
    IXDLSSerializable
    IParagraphItem
    IEntity
    IOfficeRun
    Inherited Members
    WidgetBase.CreateLayoutInfo()
    Entity.Clone()
    Entity.Owner
    Entity.EntityType
    Entity.NextSibling
    Entity.PreviousSibling
    Entity.IsComposite
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.InitXDLSHolder()
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    OwnerHolder.m_doc
    OwnerHolder.Document
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public abstract class ParagraphItem : WidgetBase, IXDLSSerializable, IWidget, IParagraphItem, IEntity, IOfficeRun

    Constructors

    ParagraphItem(WordDocument)

    Initializes a new instance of the ParagraphItem class with the specified WordDocument instance.

    Declaration
    protected ParagraphItem(WordDocument doc)
    Parameters
    Type Name Description
    WordDocument doc

    The WordDocument instance.

    Fields

    m_charFormat

    Specifies the character format.

    Declaration
    protected WCharacterFormat m_charFormat
    Field Value
    Type Description
    WCharacterFormat

    Properties

    IsDeleteRevision

    Gets a value indicating whether this item was deleted from the document, when TrackChanges is or was set to true. Read-only.

    Declaration
    public bool IsDeleteRevision { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance is delete revision; otherwise, false.

    IsInsertRevision

    Gets a value indicating whether this item was inserted to the document, when TrackChanges is or was set to true. Read-only.

    Declaration
    public bool IsInsertRevision { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance was inserted; otherwise, false.

    OwnerMathRunElement

    Reserved for internal use.

    Declaration
    public IOfficeMathRunElement OwnerMathRunElement { get; set; }
    Property Value
    Type Description
    IOfficeMathRunElement

    OwnerParagraph

    Gets the owner paragraph of the current paragraph item. Read-only

    Declaration
    public WParagraph OwnerParagraph { get; }
    Property Value
    Type Description
    WParagraph

    The WParagraph instance which is the owner of the current item.

    Methods

    ApplyStyle(String)

    Applies the style with the specified name to all paragraph items.

    Declaration
    public void ApplyStyle(string styleName)
    Parameters
    Type Name Description
    System.String styleName

    The string that represents the style name.

    Remarks

    The specified style must exists in Styles collection.

    CloneImpl()

    Creates a duplicate copy of the ParagraphItem.

    Declaration
    protected override object CloneImpl()
    Returns
    Type Description
    System.Object

    The reference of the newly created object.

    Overrides
    XDLSSerializableBase.CloneImpl()

    CloneRun()

    Creates a duplicate copy of IOfficeRun.

    Declaration
    public IOfficeRun CloneRun()
    Returns
    Type Description
    IOfficeRun

    The reference of the newly created object.

    Dispose()

    Releases all resources used by the object.

    Declaration
    public void Dispose()

    Implements

    IXDLSSerializable
    IParagraphItem
    IEntity
    IOfficeRun
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved