Share via


Document.BorderArts Property

Publisher Developer Reference

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.

Visual Basic for Applications
  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

See Also