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.

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.

Use the Count property to return the number of BorderArt types available in the specified document.

Example

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

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

The following example displays the number of BorderArt types in the active document.

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

Methods

Properties

See also

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.