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

    Show / Hide Table of Contents

    Revision Class

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

    Represents a single revision in the document.

    • C#
    • VB.NET
    public class Revision
    Public Class Revision
    Inheritance:
    System.Object
    Revision
    Derived
    CharacterFormatRevision
    ParagraphFormatRevision
    SectionPropertiesRevision
    TableCellFormatRevision
    TableColumnCollectionRevision
    TableFormatRevision
    TableRowFormatRevision

    Constructors

    Revision(RevisionType)

    Initializes a new instance of the Revision class.

    • C#
    • VB.NET
    public Revision(RevisionType revisionType)
    Public Sub New(revisionType As RevisionType)
    Parameters
    revisionType
    RevisionType

    Properties

    Author

    Gets or sets the author of the revision.

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

    The author of the revision.

    Date

    Gets or sets the date when the revision was created.

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

    The date when the revision was created.

    RevisionType

    Gets the type of this revision.

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

    The type of this revision.

    Methods

    Accept()

    Accepts this revision.

    • C#
    • VB.NET
    public void Accept()
    Public Sub Accept

    Reject()

    Rejects this revision.

    • C#
    • VB.NET
    public void Reject()
    Public Sub Reject
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.