Muokkaa

Jaa


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

Border Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.