Compartilhar via


View.RevisionsBalloonWidth Property

Word Developer Reference

Sets or returns a Single representing the global setting in Microsoft Office Word that specifies the width of the revision balloons. Read/write.

Syntax

expression.RevisionsBalloonWidth

expression   An expression that returns one a View object.

Remarks

The width of revision balloons includes padding of 0.5 inch between the document margin and the edge of the balloon and an eighth-inch between the edge of the balloon and the edge of the paper. Word adds space along the left or right edge of the paper. This width is extended into the margin and does not change the width of the document or paper size. Use the RevisionsBalloonWidthType property to specify the measurement to use when setting the RevisionsBalloonWidth property.

Example

This example sets the width of the revision balloons to one inch and displays the revision balloons in the left margin. 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.

Visual Basic for Applications
  Sub BalloonWidth()
    With ActiveWindow.View
        .RevisionsBalloonWidthType = wdBalloonWidthPoints
        .RevisionsBalloonWidth = InchesToPoints(1)
        .RevisionsBalloonSide = wdLeftMargin
    End With
End Sub

See Also