ShowInBalloons Enumeration |
Specifies which revisions are rendered in balloons.
Namespace:
Aspose.Words.Layout
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic enum ShowInBalloons
Public Enumeration ShowInBalloons
public enum class ShowInBalloons
Members
| Member name | Value | Description |
---|
| None | 0 |
Renders insert, delete and format revisions inline.
|
| Format | 1 |
Renders insert and delete revisions inline, format revisions in balloons.
|
| FormatAndDelete | 2 |
Renders insert revisions inline, delete and format revisions in balloons.
|
Remarks
Note that these values do not affect rendering of comments, which are controlled by
ShowComments.
ExamplesShow how to render revisions in the balloons and edit their appearance.
Document doc = new Document(MyDir + "Revisions.docx");
RevisionOptions revisionOptions = doc.LayoutOptions.RevisionOptions;
revisionOptions.ShowInBalloons = ShowInBalloons.Format;
revisionOptions.CommentColor = RevisionColor.BrightGreen;
revisionOptions.InsertedTextColor = RevisionColor.Green;
revisionOptions.InsertedTextEffect = RevisionTextEffect.Italic;
revisionOptions.DeletedTextColor = RevisionColor.Red;
revisionOptions.DeletedTextEffect = RevisionTextEffect.Bold;
revisionOptions.MovedFromTextColor = RevisionColor.Yellow;
revisionOptions.MovedFromTextEffect = RevisionTextEffect.DoubleStrikeThrough;
revisionOptions.MovedToTextColor = RevisionColor.Blue;
revisionOptions.MovedFromTextEffect = RevisionTextEffect.DoubleUnderline;
revisionOptions.RevisedPropertiesColor = RevisionColor.DarkRed;
revisionOptions.RevisedPropertiesEffect = RevisionTextEffect.Bold;
revisionOptions.RevisionBarsColor = RevisionColor.DarkBlue;
revisionOptions.RevisionBarsWidth = 15.0f;
revisionOptions.ShowOriginalRevision = true;
revisionOptions.ShowRevisionMarks = true;
doc.Save(ArtifactsDir + "Document.ShowRevisionsInBalloons.pdf");
See Also