Export (0) Print
Expand All
Expand Minimize

2.4.201 Pos

Office

The Pos record specifies the size and position for a legend, an attached label, or the plot area, as specified by the primary axis group. This record MUST be ignored for the plot area when the fManPlotArea field of ShtProps in the associated chart sheet substream is set to 1.


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

mdTopLt

mdBotRt

x1

unused1

y1

unused2

x2

unused3

y2

unused4

mdTopLt (2 bytes): A PositionMode structure that specifies the positioning mode for the upper-left corner of a legend, an attached label, or the plot area. The valid combinations of mdTopLt and mdBotRt and the meaning of x1, y1, x2, y2 are specified in the Valid Combinations of mdTopLt and mdBotRt by Type table.

mdBotRt (2 bytes): A PositionMode structure that specifies the positioning mode for the lower-right corner of a legend, an attached label, or the plot area. The valid combinations of mdTopLt and mdBotRt and the meaning of x1, y1, x2, y2 are specified in the following table.

Type

mdTopLtPosition Mode

mdBotRt Position Mode

Meaning

plot area (axis group)

MDPARENT

MDPARENT

The values of x1 and y1 specify the horizontal and vertical offsets of the primary axis group's upper-left corner, relative to the upper-left corner of the chart area, in SPRC. The values of x2 and y2 specify the width and height of the primary axis group, in SPRC.

legend

MDCHART

MDABS

The values x1 and y1 specify the horizontal and vertical offsets of the legend's upper-left corner, relative to the upper-left corner of the chart area, in SPRC. The values of x2 and y2 specify the width and height of the legend, in points.

legend

MDCHART

MDPARENT

The values of x1 and y1 specify the horizontal and vertical offsets of the legend's upper-left corner, relative to the upper-left corner of the chart area, in SPRC. The values of x2 and y2 MUST be ignored. The size of the legend is determined by the application.

legend

MDKTH

MDPARENT

The values of x1, y1, x2 and y2 MUST be ignored. The legend is located inside a data table.

attached label

MDPARENT

MDPARENT

The meaning of x1 and y1 is specified in the Meaning of x1 and y1 as specified by the Type of Attached Label table. x2 and y2 MUST be ignored. The size of the attached label is determined by the application.

The following table shows the meaning of x1 and y1 as specified by the type of attached label.

Type of Attached Label

Meaning

Chart title

The value of x1 and y1 specify the horizontal and vertical offset of the title, relative to its default position, in SPRC.

Axis title

The value of x1 and y1 specify the offset of the title along the direction of a specific axis. The value of x1 specifies an offset along the category (3) axis, date axis, or horizontal value axis. The value of y1 specifies an offset along the value axis. Both offsets are relative to the title's default position, in 1/1000th of the axis length.

Data label

If the chart is not a pie chart group or a radar chart group, x1 and y1 specify the offset of the label along the direction of the specific axis. The x1 value is an offset along the category (3) axis, date axis, or horizontal value axis. The y1 value is an offset along the value axis, opposite to the direction of the value axis. Both offsets are relative to the label's default position, in 1/1000th of the axis length.

For a pie chart group, the value of x1 specifies the clockwise angle, in degrees, and the value of y1 specifies the radius offset of the label relative to its default position, in 1/1000th of the pie radius length. A label moved toward the pie center has a negative radius offset.

For a radar chart group, the values of x1 and y1 specify the horizontal and vertical offset of the label relative to its default position, in 1/1000th of the axis length.

x1 (2 bytes): A signed integer that specifies a position. The meaning is specified in the earlier table showing the valid combinations mdTopLt and mdBotRt by type.

unused1 (2 bytes): Undefined and MUST be ignored.

y1 (2 bytes): A signed integer that specifies a position. The meaning is specified in the earlier table showing the valid combinations mdTopLt and mdBotRt by type.

unused2 (2 bytes): Undefined and MUST be ignored.

x2 (2 bytes): A signed integer that specifies a width. The meaning is specified in the earlier table showing the valid combinations mdTopLt and mdBotRt by type.

unused3 (2 bytes): Undefined and MUST be ignored.

y2 (2 bytes): A signed integer that specifies a height. The meaning is specified in the earlier table showing the valid combinations mdTopLt and mdBotRt by type.

unused4 (2 bytes): Undefined and MUST be ignored.

Show:
© 2014 Microsoft