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

BorderArts Object (Publisher)

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

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
© 2017 Microsoft