public enum LettersPositioningMethods extends Enum<LettersPositioningMethods>
It enumerates possible modes of positioning of letters in words in result HTML
Enum Constant and Description |
---|
UseEmUnitsAndCompensationOfRoundingErrorsInCss
It's default method.
|
UsePixelUnitsInCssLetterSpacingForIE
It allows to get sometimes more precise results in old IE browser versions
|
Modifier and Type | Method and Description |
---|---|
static LettersPositioningMethods |
getByValue(int value) |
int |
getValue() |
static LettersPositioningMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LettersPositioningMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LettersPositioningMethods UseEmUnitsAndCompensationOfRoundingErrorsInCss
It's default method. It uses EM-units and special algorithm of compensation of rounding errors It's preferable for usage in IE10.0 and more fresh versions and gives better scaling of captions when scaling is necessary
public static final LettersPositioningMethods UsePixelUnitsInCssLetterSpacingForIE
It allows to get sometimes more precise results in old IE browser versions
public static LettersPositioningMethods[] values()
for (LettersPositioningMethods c : LettersPositioningMethods.values()) System.out.println(c);
public static LettersPositioningMethods valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static LettersPositioningMethods getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.