2.4.128 Frame

The Frame record specifies the type, size and position of the frame around a chart element as defined by the Chart Sheet Substream ABNF.  A chart element’s frame is specified by the Frame record following it.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

frt

A

B

reserved

frt (2 bytes):  An unsigned integer that specifies the type of frame to be drawn. MUST be a value from the following table:

Value

Frame Type

0x0000

A frame surrounding the chart element.

0x0004

A frame with a shadow surrounding the chart element.

A - fAutoSize (1 bit):  A bit that specifies if the size of the frame is automatically calculated. If the value is 1, the size of the frame is automatically calculated. In this case, the width and height specified by the chart element are ignored and the size of the frame is calculated automatically. If the value is 0, the width and height specified by the chart element are used as the size of the frame.

B - fAutoPosition (1 bit):  A bit that specifies if the position of the frame is automatically calculated. If the value is 1, the position of the frame is automatically calculated. In this case, the (x, y) specified by the chart element are ignored, and the position of the frame is automatically calculated. If the value is 0, the (x, y) location specified by the chart element are used as the position of the frame.

reserved (14 bits):  MUST be zero, and MUST be ignored.