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

    Show / Hide Table of Contents

    RevisionOptions Class

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

    Represents revision options that specify how the revisions will be displayed in the document.

    • C#
    • VB.NET
    public class RevisionOptions
    Public Class RevisionOptions
    Inheritance:
    System.Object
    RevisionOptions
    Remarks

    This class is currently supported only when saving to PDF, XPS, or image formats.

    Constructors

    RevisionOptions()

    Initializes a new instance of the RevisionOptions class.

    • C#
    • VB.NET
    public RevisionOptions()
    Public Sub New

    Properties

    DeletedCellsColor

    Gets or sets the color which should be used for the background of the deleted cells.

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

    The color which should be used for the background of the deleted cells.

    Remarks

    The default value is LightPink.

    DeletionColor

    Gets or sets the color which should be used for the deleted content.

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

    The color which should be used for the deleted content.

    Remarks

    The default value is Red.

    DeletionEffect

    Gets or sets the decoration effect which should be applied on the deleted content.

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

    The decoration effect which should be applied on the deleted content.

    Remarks

    The default value is StrikeThrough.

    FormattingColor

    Gets or sets the color which should be used for the content with revised formatting.

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

    The color which should be used for the content with revised formatting.

    Remarks

    The default value is Red.

    FormattingEffect

    Gets or sets the decoration effect which should be applied on the content with revised formatting.

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

    The decoration effect which should be applied on the content with revised formatting.

    Remarks

    The default value is None.

    InsertedCellsColor

    Gets or sets the color which should be used for the background of the inserted cells.

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

    The color which should be used for the background of the inserted cells.

    Remarks

    The default value is LightBlue.

    InsertionColor

    Gets or sets the color which should be used for the inserted content.

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

    The color which should be used for the inserted content.

    Remarks

    The default value is Red.

    InsertionEffect

    Gets or sets the decoration effect which should be applied on the inserted content.

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

    The decoration effect which should be applied on the inserted content.

    Remarks

    The default value is Underline.

    MovedFromColor

    Gets or sets the color which should be used for the content that was moved from the current position.

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

    The color which should be used for the content that was moved from the current position.

    Remarks

    The default value is Green.

    MovedFromEffect

    Gets or sets the decoration effect which should be applied on the content that was moved from the current position.

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

    The decoration effect which should be applied on the content that was moved from the current position.

    Remarks

    The default value is DoubleStrikeThrough.

    MovedToColor

    Gets or sets the color which should be used for the content that was moved to the current position.

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

    The color which should be used for the content that was moved to the current position.

    Remarks

    The default value is Green.

    MovedToEffect

    Gets or sets the decoration effect which should be applied on the content that was moved to the current position.

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

    The decoration effect which should be applied on the content that was moved to the current position.

    Remarks

    The default value is DoubleUnderline.

    ShowRevisions

    Gets or sets which revision types should be visible.

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

    Revision types which should be visible.

    Remarks

    By default, no revisions are visible

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.