GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    Comment Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a comment that is anchored to a region of document content.

    • C#
    • VB.NET
    public sealed class Comment : Element, IContentElement
    Public NotInheritable Class Comment
        Inherits Element
        Implements IContentElement
    Inheritance:
    System.Object
    Element
    Comment
    Implements
    IContentElement

    Constructors

    Comment(DocumentModel)

    Creates the new instance of the Comment class

    • C#
    • VB.NET
    public Comment(DocumentModel document)
    Public Sub New(document As DocumentModel)
    Parameters
    document
    DocumentModel

    The owner document.

    Properties

    Author

    Gets or sets the author of the current comment.

    • C#
    • VB.NET
    public string Author { get; set; }
    Public Property Author As String
    Property Value
    System.String

    The author of the current comment.

    Blocks

    Gets the content of the comment.

    • C#
    • VB.NET
    public BlockCollection Blocks { get; }
    Public ReadOnly Property Blocks As BlockCollection
    Property Value
    BlockCollection

    The content of the comment.

    Date

    Gets or sets the date of the current comment.

    • C#
    • VB.NET
    public DateTime Date { get; set; }
    Public Property Date As Date
    Property Value
    System.DateTime

    The date of the current comment.

    ElementType

    Gets the ElementType of this Element instance.

    • C#
    • VB.NET
    public override ElementType ElementType { get; }
    Public Overrides ReadOnly Property ElementType As ElementType
    Property Value
    ElementType

    The ElementType of this Element instance.

    Overrides
    Element.ElementType

    End

    Gets the element that marks the end of this comment.

    • C#
    • VB.NET
    public CommentEnd End { get; }
    Public ReadOnly Property End As CommentEnd
    Property Value
    CommentEnd

    The end of this comment.

    Initials

    Gets or sets the initials of the author of the current comment.

    • C#
    • VB.NET
    public string Initials { get; set; }
    Public Property Initials As String
    Property Value
    System.String

    The initials of the author of the current comment.

    ReplyTo

    Gets or sets the comment to which this comment is a reply.

    • C#
    • VB.NET
    public Comment ReplyTo { get; set; }
    Public Property ReplyTo As Comment
    Property Value
    Comment

    The comment to which this comment is a reply.

    Resolved

    Gets or sets whether the comment was marked as resolved.

    • C#
    • VB.NET
    public bool Resolved { get; set; }
    Public Property Resolved As Boolean
    Property Value
    System.Boolean

    True if comment is resolved, false otherwise.

    Start

    Gets the element that marks the start of this comment.

    • C#
    • VB.NET
    public CommentStart Start { get; }
    Public ReadOnly Property Start As CommentStart
    Property Value
    CommentStart

    The start of this comment.

    Inherited Properties

    Content

    Gets the content of the current Element.

    (Inherited from Element)

    Document

    Gets the owner document.

    (Inherited from Element)

    Parent

    Gets the parent of this Element instance.

    (Inherited from Element)

    ParentCollection

    Gets the ElementCollection that contains this Element instance.

    (Inherited from Element)

    Inherited Methods

    Clone(System.Boolean)

    Clones this Element instance, and optionally clones it's descendants.

    (Inherited from Element)

    GetChildElements(System.Boolean)

    Gets the child elements.

    (Inherited from Element)

    GetChildElements(System.Boolean, ElementType[])

    Gets the child elements filtered by ElementType.

    (Inherited from Element)

    GetParentElements()

    Gets the parent elements.

    (Inherited from Element)

    GetParentElements(ElementType[])

    Gets the parent elements.

    (Inherited from Element)

    Implements

    IContentElement
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.