---
title: "LettersPositioningMethods"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/letterspositioningmethods/"
product: "Aspose.PDF for Java API Reference"
description: "It enumerates possible modes of positioning of letters in words in result HTML"
---

**Inheritance:**
java.lang.Object, java.lang.Enum < LettersPositioningMethods > com.aspose.pdf.LettersPositioningMethods, java.lang.Enum < LettersPositioningMethods >, com.aspose.pdf.LettersPositioningMethods

**All Implemented Interfaces:**
Serializable, Comparable < LettersPositioningMethods >

```
public enum LettersPositioningMethods extends Enum < LettersPositioningMethods >
```

It enumerates possible modes of positioning of letters in words in result HTML

## Fields

| Field | Description |
| --- | --- |
| [UseEmUnitsAndCompensationOfRoundingErrorsInCss](#UseEmUnitsAndCompensationOfRoundingErrorsInCss) | It's default method. |
| [UsePixelUnitsInCssLetterSpacingForIE](#UsePixelUnitsInCssLetterSpacingForIE) | It allows to get sometimes more precise results in old IE browser versions |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### UseEmUnitsAndCompensationOfRoundingErrorsInCss {#UseEmUnitsAndCompensationOfRoundingErrorsInCss}
```
public static final LettersPositioningMethods UseEmUnitsAndCompensationOfRoundingErrorsInCss
```

It's default method.

### UsePixelUnitsInCssLetterSpacingForIE {#UsePixelUnitsInCssLetterSpacingForIE}
```
public static final LettersPositioningMethods UsePixelUnitsInCssLetterSpacingForIE
```

It allows to get sometimes more precise results in old IE browser versions

### getByValue {#getByValue-int-}
```
public static LettersPositioningMethods getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static LettersPositioningMethods [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
