2.3.4.19 posh
The posh property specifies the type of horizontal positioning to use for a shape.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opid |
posh |
||||||||||||||||||||||||||||||
... |
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 0x038F.
opid.fBid
A value that MUST be 0x0.
opid.fComplex
A value that MUST be 0x0.
posh (4 bytes): An enumeration value that MAY<21> be used to determine how a shape is horizontally positioned, relative to the page element that is specified in the posrelh property, as defined in section 2.3.4.20. This value MUST be one of the values in the following table. The default value for this property is msophAbs.
Name |
Value |
Description |
---|---|---|
msophAbs |
0x00000000 |
The shape is horizontally offset by an absolute distance from the page element. |
msophLeft |
0x00000001 |
The shape is horizontally positioned at the left side of the page element. |
msophCenter |
0x00000002 |
The shape is horizontally positioned at the center of the page element. |
msophRight |
0x00000003 |
The shape is horizontally positioned at the right side of the page element. |
msophInside |
0x00000004 |
The shape is horizontally positioned like msophLeft on odd-numbered pages and like msophRight on even-numbered pages. |
msophOutside |
0x00000005 |
The shape is horizontally positioned like msophRight on odd-numbered pages and like msophLeft on even-numbered pages. |