Compartilhar via


Border.ArtWidth Property

Word Developer Reference

Returns or sets the width (in points) of the specified graphical page border. Read/write Long.

Syntax

expression.ArtWidth

expression   A variable that represents a Border object.

Example

This example adds a 6-point dotted border around each page in the first section in the selection.

Visual Basic for Applications
  Dim borderLoop As Border

For Each borderLoop In Selection.Sections(1).Borders With borderLoop .ArtStyle = wdArtBasicBlackDots .ArtWidth = 6 End With Next borderLoop

See Also