Document.BorderArts property (Publisher)
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
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.