BorderArts object (Publisher)

A collection of all BorderArt available for use in the specified publication. BorderArt is predefined picture borders that can be applied to text boxes, picture frames, or rectangles.

Remarks

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

Example

Use the Item property of a BorderArts collection to return a specific BorderArt object. The Index argument of the Item property can be the number or name of the BorderArt object.

This example returns the BorderArt "Apples" from the active publication.

Dim bdaTemp As BorderArt 
 
Set bdaTemp = ActiveDocument.BorderArts.Item (Index:="Apples") 

Use the Count property to return the number of BorderArt types available in the specified document. The following example displays the number of BorderArt types in the active document.

Sub CountBorderArts() 
 MsgBox ActiveDocument.BorderArts.Count 
End Sub

Methods

Name
Item

Properties

Name
Application
Count
Parent

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.