BorderArtFormat Object
Publisher Developer Reference |
Represents the formatting of the BorderArt applied to the specified shape.
Remarks
BorderArt are picture borders that can be applied to text boxes, picture frames, or rectangles.
Example
Use the BorderArt property of a shape to return a BorderArtFormat object.
The following example returns the BorderArt of the first shape on the first page of the active publication, and displays the name of the BorderArt in a message box.
Visual Basic for Applications |
---|
|
Use the Set method to specify which type of BorderArt you want applied to a picture. The following example tests for the existence of BorderArt on each shape for each page of the active document. Any BorderArt found is set to the same type.
Visual Basic for Applications |
---|
|
You can also use the Name property to specify which type of BorderArt you want applied to a picture. The following example sets all the BorderArt in a document to the same type using the Name property.
Visual Basic for Applications |
---|
|
Note |
---|
Because Name is the default property of both the BorderArt and BorderArtFormat objects, you do not need to state it explicitly when setting the BorderArt type. The statement
Visual Basic for Applications
Visual Basic for Applications
|
Visual Basic for Applications |
|
Visual Basic for Applications |
|
Use the Delete method to remove BorderArt from a picture. The following example tests for the existence of border art on each shape for each page of the active document. If border art exists, it is deleted.
Visual Basic for Applications |
---|
|
See Also