RevisionOptions.DeletedTextEffect
RevisionOptions DeletedTextEffect property. Allows to specify the effect to be applied to the deleted content. Default value is StrikeThrough
RevisionOptions.DeletedTextEffect property
Allows to specify the effect to be applied to the deleted content. Default value is StrikeThrough
public RevisionTextEffect DeletedTextEffect { 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
- enum RevisionTextEffect
- class RevisionOptions
- namespace Wordize.Layout
- assembly Wordize