Compartilhar via


View.RevisionsBalloonWidthType Property

Word Developer Reference

Sets or returns a WdRevisionsBalloonWidthType constant representing the global setting that specifies how Microsoft Word measures the width of revision balloons. Read/write.

Syntax

expression.RevisionsBalloonWidthType

expression   Required. A variable that represents 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.

Visual Basic for Applications
  Sub BalloonWidthType()
    With ActiveWindow.View
        .RevisionsBalloonWidthType = wdBalloonWidthPercent
        .RevisionsBalloonWidth = 25
    End With
End Sub

See Also