FrameStyle Property

FrameStyle returns or sets the frame style. Returns a SrfLegendFrame.

Syntax

object.FrameStyle

object.FrameStyle = Style

Parameter

Type

Description

Style

SrfLegendFrame

required

Example 1

This example demonstrates how to return the frame style of a legend.

Debug.Print Legend.FrameStyle

Example 2

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

Legend.FrameStyle = srfLegFrameSquare

Used by: Legend object

See Also

Legend