RevisionOptions.RevisedPropertiesColor

RevisionOptions RevisedPropertiesColor property. Allows to specify the color to be used for content with changes of formatting properties Default value is NoHighlight.

RevisionOptions.RevisedPropertiesColor property

Allows to specify the color to be used for content with changes of formatting properties Default value is NoHighlight.

public RevisionColor RevisedPropertiesColor { get; set; }

Examples

Shows how to configure appearance of revisions upon document rendering.

ConverterContext context = new ConverterContext();

// Set color of deleted cell.
context.LayoutOptions.RevisionOptions.DeleteCellColor = RevisionColor.LightOrange;

// Configure appearance of delete text revisions.
context.LayoutOptions.RevisionOptions.DeletedTextColor = RevisionColor.Pink;
context.LayoutOptions.RevisionOptions.DeletedTextEffect = RevisionTextEffect.DoubleStrikeThrough;

// Set color of inserted cell.
context.LayoutOptions.RevisionOptions.InsertCellColor = RevisionColor.LightGreen;

// Configure appearance of insert text revisions.
context.LayoutOptions.RevisionOptions.InsertedTextColor = RevisionColor.Blue;
context.LayoutOptions.RevisionOptions.InsertedTextEffect = RevisionTextEffect.DoubleUnderline;

// Configure appearance of moved from text revisions.
context.LayoutOptions.RevisionOptions.MovedFromTextColor = RevisionColor.Violet;
context.LayoutOptions.RevisionOptions.MovedFromTextEffect = RevisionTextEffect.Color;

// Configure appearance of moved to text revisions.
context.LayoutOptions.RevisionOptions.MovedToTextColor = RevisionColor.Gray;
context.LayoutOptions.RevisionOptions.MovedToTextEffect = RevisionTextEffect.Color;

// Configure appearance of revised properties revisions.
context.LayoutOptions.RevisionOptions.RevisedPropertiesColor = RevisionColor.ClassicBlue;
context.LayoutOptions.RevisionOptions.RevisedPropertiesEffect = RevisionTextEffect.Underline;

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

See Also