RevisionOptions Class
Represents revision options that specify how the revisions will be displayed in the document.
- Inheritance:
- System.ObjectRevisionOptions
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.
Properties
DeletedCellsColor
Gets or sets the color which should be used for the background of the deleted cells.
public RevisionColor DeletedCellsColor { get; set; }
Public Property DeletedCellsColor As RevisionColor
Property Value
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.
public RevisionColor DeletionColor { get; set; }
Public Property DeletionColor As RevisionColor
Property Value
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.
public RevisionTextEffect DeletionEffect { get; set; }
Public Property DeletionEffect As RevisionTextEffect
Property Value
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.
public RevisionColor FormattingColor { get; set; }
Public Property FormattingColor As RevisionColor
Property Value
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.
public RevisionTextEffect FormattingEffect { get; set; }
Public Property FormattingEffect As RevisionTextEffect
Property Value
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.
public RevisionColor InsertedCellsColor { get; set; }
Public Property InsertedCellsColor As RevisionColor
Property Value
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.
public RevisionColor InsertionColor { get; set; }
Public Property InsertionColor As RevisionColor
Property Value
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.
public RevisionTextEffect InsertionEffect { get; set; }
Public Property InsertionEffect As RevisionTextEffect
Property Value
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.
public RevisionColor MovedFromColor { get; set; }
Public Property MovedFromColor As RevisionColor
Property Value
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.
public RevisionTextEffect MovedFromEffect { get; set; }
Public Property MovedFromEffect As RevisionTextEffect
Property Value
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.
public RevisionColor MovedToColor { get; set; }
Public Property MovedToColor As RevisionColor
Property Value
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.
public RevisionTextEffect MovedToEffect { get; set; }
Public Property MovedToEffect As RevisionTextEffect
Property Value
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.
public ShowRevisionType ShowRevisions { get; set; }
Public Property ShowRevisions As ShowRevisionType
Property Value
Revision types which should be visible.
Remarks
By default, no revisions are visible