Table of contents
TOC
Collapse the table of content
Expand the table of content

Document.BorderArts Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns a BorderArts collection that represents the BorderArt types available for use in the specified publication. Read-only.

Syntax

expression. BorderArts

_expression_A variable that represents a Document object.

Return Value

BorderArts

Remarks

BorderArt are picture borders that can be applied to text boxes, picture frames, or rectangles.

The BorderArts collection includes any custom BorderArt types created by the user for the specified publication.

Example

The following example returns the BorderArts collection and lists the names of all the BorderArt types available for use in the active publication.

Sub ListBorderArt() 
Dim bdaTemp As BorderArts 
Dim bdaLoop As BorderArt 

Set bdaTemp = ActiveDocument.BorderArts 

For Each bdaLoop In bdaTemp 
 Debug.Print "The name of this BorderArt is " &; bdaLoop.Name 
Next bdaLoop 
End Sub
© 2018 Microsoft