RevisionOptions Class

Wordize.Layout.RevisionOptions class. Allows to control how document revisions are handled during layout process.

RevisionOptions class

Allows to control how document revisions are handled during layout process.

public class RevisionOptions

Properties

NameDescription
CommentColor { get; set; }Allows to specify the color to be used for comments. Default value is Red.
DeleteCellColor { get; set; }Allows to specify the color to be used for deleted cells. Default value is LightPink.
DeletedTextColor { get; set; }Allows to specify the color to be used for deleted content. Default value is ByAuthor.
DeletedTextEffect { get; set; }Allows to specify the effect to be applied to the deleted content. Default value is StrikeThrough
InsertCellColor { get; set; }Allows to specify the color to be used for inserted cells. Default value is LightBlue.
InsertedTextColor { get; set; }Allows to specify the color to be used for inserted content. Default value is ByAuthor.
InsertedTextEffect { get; set; }Allows to specify the effect to be applied to the inserted content. Default value is Underline.
MeasurementUnit { get; set; }Allows to specify the measurement units for revision comments. Default value is Centimeters
MovedFromTextColor { get; set; }Allows to specify the color to be used for areas where content was moved from. Default value is ByAuthor.
MovedFromTextEffect { get; set; }Allows to specify the effect to be applied to the areas where content was moved from. Default value is DoubleStrikeThrough
MovedToTextColor { get; set; }Allows to specify the color to be used for areas where content was moved to. Default value is ByAuthor.
MovedToTextEffect { get; set; }Allows to specify the effect to be applied to the areas where content was moved to. Default value is DoubleUnderline
RevisedPropertiesColor { get; set; }Allows to specify the color to be used for content with changes of formatting properties Default value is NoHighlight.
RevisedPropertiesEffect { get; set; }Allows to specify the effect for content areas with changes of formatting properties Default value is None
RevisionBarsColor { get; set; }Allows to specify the color to be used for side bars that identify document lines containing revised information. Default value is Red.
RevisionBarsPosition { get; set; }Gets or sets rendering position of revision bars. Default value is Outside.
RevisionBarsWidth { get; set; }Gets or sets width of revision bars, points.
ShowInBalloons { get; set; }Allows to specify whether the revisions are rendered in the balloons. Default value is None.
ShowOriginalRevision { get; set; }Allows to specify whether the original text should be shown instead of revised one. Default value is false.
ShowRevisionBars { get; set; }Allows to specify whether revision bars should be rendered near lines containing revised content. Default value is true.
ShowRevisionMarks { get; set; }Allow to specify whether revision text should be marked with special formatting markup. Default value is true.

Examples

Shows how to disable displaying revision marks upon document rendering.

ConverterContext context = new ConverterContext();
context.LayoutOptions.RevisionOptions.ShowRevisionMarks = false;

Converter.Create(context)
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "RevisionOptions.ShowRevisionMarks.pdf")
    .Execute();

See Also