
**遗产：**
java.lang.Object
```
public class RelativeHorizontalPosition
```

指定形状或文本框的水平位置是相对的。
## 字段

| 场地 | 描述 |
| --- | --- |
| [CHARACTER](#CHARACTER) | 对象相对于段落的左侧定位。 |
| [COLUMN](#COLUMN) | 对象相对于列的左侧定位。 |
| [DEFAULT](#DEFAULT) | 默认值为[COLUMN](../../com.aspose.words/relativehorizontalposition\#COLUMN). |
| [INSIDE_MARGIN](#INSIDE-MARGIN) | 指定水平定位应相对于当前页面的内边距（奇数页的左边距，偶数页的右边距）。 |
| [LEFT_MARGIN](#LEFT-MARGIN) | 指定水平定位应相对于页面的左边距。 |
| [MARGIN](#MARGIN) | 指定水平定位应相对于页边距。 |
| [OUTSIDE_MARGIN](#OUTSIDE-MARGIN) | 指定水平定位应相对于当前页的外边距（奇数页的右边距，偶数页的左边距）。 |
| [PAGE](#PAGE) | 该对象相对于页面的左边缘定位。 |
| [RIGHT_MARGIN](#RIGHT-MARGIN) | 指定水平定位应相对于页面的右边距。 |
| [length](#length) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [fromName(String relativeHorizontalPositionName)](#fromName-java.lang.String-) |  |
| [getClass()](#getClass--) |  |
| [getName(int relativeHorizontalPosition)](#getName-int-) |  |
| [getValues()](#getValues--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [toString(int relativeHorizontalPosition)](#toString-int-) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CHARACTER {#CHARACTER}
```
public static int CHARACTER
```


对象相对于段落的左侧定位。

### COLUMN {#COLUMN}
```
public static int COLUMN
```


对象相对于列的左侧定位。

### DEFAULT {#DEFAULT}
```
public static int DEFAULT
```


默认值为[COLUMN](../../com.aspose.words/relativehorizontalposition\#COLUMN).

### INSIDE_MARGIN {#INSIDE-MARGIN}
```
public static int INSIDE_MARGIN
```


指定水平定位应相对于当前页面的内边距（奇数页的左边距，偶数页的右边距）。

### LEFT_MARGIN {#LEFT-MARGIN}
```
public static int LEFT_MARGIN
```


指定水平定位应相对于页面的左边距。

### MARGIN {#MARGIN}
```
public static int MARGIN
```


指定水平定位应相对于页边距。

### OUTSIDE_MARGIN {#OUTSIDE-MARGIN}
```
public static int OUTSIDE_MARGIN
```


指定水平定位应相对于当前页的外边距（奇数页的右边距，偶数页的左边距）。

### PAGE {#PAGE}
```
public static int PAGE
```


该对象相对于页面的左边缘定位。

### RIGHT_MARGIN {#RIGHT-MARGIN}
```
public static int RIGHT_MARGIN
```


指定水平定位应相对于页面的右边距。

### length {#length}
```
public static int length
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### fromName(String relativeHorizontalPositionName) {#fromName-java.lang.String-}
```
public static int fromName(String relativeHorizontalPositionName)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| relativeHorizontalPositionName | java.lang.String |  |

**退货：**
整数
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getName(int relativeHorizontalPosition) {#getName-int-}
```
public static String getName(int relativeHorizontalPosition)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| relativeHorizontalPosition | int |  |

**退货：**
java.lang.字符串
### getValues() {#getValues--}
```
public static int[] getValues()
```




**退货：**
整数[]
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### toString(int relativeHorizontalPosition) {#toString-int-}
```
public static String toString(int relativeHorizontalPosition)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| relativeHorizontalPosition | int |  |

**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
