RevisionOptions.CommentColor

RevisionOptions CommentColor property. Allows to specify the color to be used for comments. Default value is Red.

RevisionOptions.CommentColor property

Allows to specify the color to be used for comments. Default value is Red.

public RevisionColor CommentColor { get; set; }

Remarks

If set this property to ByAuthor or NoHighlight values, as the result this property will be set to default color.

Examples

Shows how to color used for rendering comments.

ConverterContext context = new ConverterContext();
context.LayoutOptions.RevisionOptions.CommentColor = RevisionColor.Blue;

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

See Also