Share via


Border.ArtWidth Property (Word)

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.

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

See Also

Concepts

Border Object

Border Object Members