Share via


RevisionsBalloonWidthType Property

WdRevisionsBalloonWidthType

WdRevisionsBalloonWidthType can be one of these WdRevisionsBalloonWidthType constants.
wdBalloonWidthPercent Measured as a percentage of the width of the document.
wdBalloonWidthPoints Measured in points.

expression.RevisionsBalloonWidthType

expression Required. An expression that returns a View object.

Remarks

The RevisionsBalloonWidthType property sets the measurement unit to use when setting the RevisionsBalloonWidth property.

Example

This example sets the width of the revision balloons to twenty-five percent of the document's width. This example assumes that the document in the active window contains revisions made by one or more reviewers and that revisions are displayed in balloons.

Sub BalloonWidthType()
    With ActiveWindow.View
        .RevisionsBalloonWidthType = wdBalloonWidthPercent
        .RevisionsBalloonWidth = 25
    End With
End Sub

Applies to | View Object