FrameStyle Property

 

The FrameStyle property returns or sets the legend frame style. Returns a MVLegendFrame.

 

Syntax

object.FrameStyle

object.FrameStyle = Style

 

Parameter

Type

Description

Style

MVLegendFrame

required; square or rounded

 

Example 1

This example demonstrates how to return the legend frame style.

 

Debug.Print Legend.FrameStyle

 

Example 2

This example demonstrates how to create a legend frame with square corners.

 

Legend.FrameStyle = mvLegFrameSquare

 

Used by: Legend object