FRAME: Defines Border Shape Around Displayed Text (1032h)

The FRAME record defines the border that is present around a displayed label as a rectangle. A displayed label can include the chart title, the legend (if not a regular rectangle), a category name, or a value amount.

Record Data

Offset

Name

Size

Contents

4

frt

2

0 = regular rectangle/no border
1 – 3 (reserved)
4 = rectangle with shadow

6

grbit

2

Flags


The frt field defines the format of the frame border, that is, a rectangle or a rectangle with a shadow along two sides. (The format of the rectangle line and the pattern of the background within the rectangle are defined by the subordinate LINEFORMAT and AREAFORMAT records.)

The grbit field contains the following option flags.

Offset

Bits

Mask

Name

Contents

0

0

01h

fAutoSize

Microsoft Excel calculates size

0

1

02h

fAutoPosition

Microsoft Excel calculates position

0

7 – 2

FCh

(reserved)

Reserved; must be zero

1

7 – 0

FFh

(reserved)

Reserved; must be zero


The fAutoSize field indicates that the size of the frame is to be calculated by Microsoft Excel. The dx and dy fields in the parent record are ignored.

The fAutoPosition field indicates that the position of the frame is to be calculated by Microsoft Excel. The dx and dy fields in the parent record are ignored.