2.3.4.20 posrelh

The posrelh property specifies a page element relative to which a shape is horizontally positioned.


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

opid

posrelh

...

opid (2 bytes): An OfficeArtFOPTEOPID record, as defined in section 2.2.8, that specifies the header for this property. The following table specifies the subfields.

Field

Meaning

opid.opid

A value that MUST be 0x0390.

opid.fBid

A value that MUST be 0x0.

opid.fComplex

A value that MUST be 0x0.

posrelh (4 bytes): An enumeration value that MAY<22> be used to determine the page element that the horizontal position of a shape is relative to. This value MUST be one of the values that are listed in the following tables. The default value for this property is msoprhText.

If the value of the posh property, as defined in section 2.3.4.19, equals msophAbs, the possible values for this property position the shape as shown in the following table.

Name

Value

Meaning

msoprhMargin

0x00000001

The shape is horizontally positioned relative to the margins of the page:

Shape horizontally positioned relative to page margins. Shape is right aligned with center of the page.

msoprhPage

0x00000002

The shape is horizontally positioned relative to the edges of the page:

Shape horizontally positioned relative to page edges. Shape is centered 1 third of the way across the page from the left margin.

msoprhText

0x00000003

The shape is horizontally positioned relative to the column of text underneath it:

Shape horizontally positioned relative to column of text under it. Shape is centered on the text block.

msoprhChar

0x00000004

The shape is horizontally positioned relative to the character of text underneath it:

Shape horizontally positioned relative to the character of text under it. Shape is left aligned with the center of the character.

If the value of the posh property, as defined in section 2.3.4.19, equals msophLeft, the possible values for this property position the shape as shown in the following table.

Name

Value

Meaning

msoprhMargin

0x00000001

The shape is horizontally positioned relative to the margins of the page:

Shape horizontally positioned relative to page margins. Shape is left aligned with the left page margin.

msoprhPage

0x00000002

The shape is horizontally positioned relative to the edges of the page:

Shape horizontally positioned relative to page edges. Shape is left aligned with the left page edge

msoprhText

0x00000003

The shape is horizontally positioned relative to the column of text underneath it:

Shape horizontally positioned relative to column of text under it. Shape is left aligned with the left edge of the text block.

msoprhChar

0x00000004

The shape is horizontally positioned relative to the character of text underneath it:

Shapre horizontally positioned relative to character under it. Shape is left aligned with the left edge of the character text box.

If the value of the posh property, as defined in section 2.3.4.19, equals msophCenter, the possible values for this property position the shape as shown in the following table.

Name

Value

Meaning

msoprhMargin

0x00000001

The shape is horizontally positioned relative to the margins of the page:

Shapre horizontally positioned relative to margins of the page. Shape is horizontally centered from the page margins

msoprhPage

0x00000002

The shape is horizontally positioned relative to the edges of the page:

Shape horizontally positioned relative to page edges. Shape is horizontally centered from the page edges

msoprhText

0x00000003

The shape is horizontally positioned relative to the column of text underneath it:

Shape horizontally positioned relative to text column under it. The shape is horizontally centered over the text block.

msoprhChar

0x00000004

The shape is horizontally positioned relative to the character of text underneath it:

Shape horizontally positioned relative to the character of text under it. The shape is horizontally centered over the character

If the value of the posh property, as defined in section 2.3.4.19, equals msophRight, the possible values for this property position the shape as shown in the following table.

Name

Value

Meaning

msoprhMargin

0x00000001

The shape is horizontally positioned relative to the margins of the page:

The shape is horizontally positioned relative to the margins of the page. The shape is right aligned with the right page margin

msoprhPage

0x00000002

The shape is horizontally positioned relative to the edges of the page:

The shape is horizontally positioned relative to the edges of the page. The shape is right aligned with the right page edge

msoprhText

0x00000003

The shape is horizontally positioned relative to the column of text underneath it:

The shape is horizontally positioned relative to the column of text underneath it. The shape is right aligned to the right edge of the text block

msoprhChar

0x00000004

The shape is horizontally positioned relative to the character of text underneath it:

The shape is horizontally positioned relative to the character of text underneath it. The shape is right aligned with the right edge of the character

If the value of the posh property, as defined in section 2.3.4.19, equals msophInside, the possible values for this property position the shape as shown in the following table.

Name

Value

Meaning

msoprhMargin

0x00000001

The shape is horizontally positioned relative to the margins of the page.

Odd-numbered pages:

The shape is horizontally positioned relative to the margins of the page. The shape is left aligned with the left page margin for odd numbered pages

Even-numbered pages:

 The shape is horizontally aligned based on page margins. The shape is right aligned with the right page margin for even numbered pages

msoprhPage

0x00000002

The shape is horizontally positioned relative to the edges of the page.

Odd-numbered pages:

The shape is horizontally positioned relative to the edges of the page. The shape is left aligned with the left page edge for odd numbered pages.

Even-numbered pages:

The shape is horizontally positioned relative to the edges of the page. The shape is right aligned with the right page edge for even numbered pages.

msoprhText

0x00000003

The shape is horizontally positioned relative to the column of text underneath it.

Odd-numbered pages:

The shape is horizontally positioned relative to the column of text underneath it. The shape is left aligned with the left edge of the text block for odd numbered pages.

Even-numbered pages:

The shape is horizontally positioned relative to the column of text underneath it. The shape is right aligned with the right edge of the text block for even numbered pages.

msoprhChar

0x00000004

The shape is horizontally positioned relative to the character of text underneath it.

Odd-numbered pages:

The shape is horizontally positioned relative to the character of text underneath it.The shape is left aligned with the left edge of the character for odd numbered pages.

Even-numbered pages:

The shape is horizontally positioned relative to the character of text underneath it.The shape is right aligned with the right edge of the character for even numbered pages.

If the value of the posh property, as defined in section 2.3.4.19, equals msophOutside, the possible values for this property position the shape as shown in the following table.

Name

Value

Meaning

msoprhMargin

0x00000001

The shape is horizontally positioned relative to the margins of the page.

Odd-numbered pages:

The shape is horizontally positioned relative to the margins of the page. The shape is right aligned with the right page margin for odd numbered pages.

Even-numbered pages:

The shape is horizontally positioned relative to the margins of the page. The shape is left aligned with the left page margin for even numbered pages.

msoprhPage

0x00000002

The shape is horizontally positioned relative to the edges of the page.

Odd-numbered pages:

The shape is horizontally positioned relative to the edges of the page. The shape is right aligned against the right page edge for odd numbered pages.

Even-numbered pages:

The shape is horizontally positioned relative to the edges of the page. The shape is left aligned against the left page edge for even numbered pages.

msoprhText

0x00000003

The shape is horizontally positioned relative to the column of text underneath it.

Odd-numbered pages:

The shape is horizontally positioned relative to the column of text underneath it. The shape is right aligned with the right edge of the text block for odd numbered pages

Even-numbered pages:

The shape is horizontally positioned relative to the column of text underneath it. The shape is left aligned with the left edge of the text block for even numbered pages

msoprhChar

0x00000004

The shape is horizontally positioned relative to the character of text underneath it.

Odd-numbered pages:

The shape is horizontally positioned relative to the character of text underneath it. The shape is right aligned with the right edge of the character for odd numbered pages

Even-numbered pages:

The shape is horizontally positioned relative to the character of text underneath it. The shape is leftt aligned with the left edge of the character for even numbered pages