com.aspose.words
Class HorizontalAlignment

java.lang.Object
    extended by com.aspose.words.HorizontalAlignment

public class HorizontalAlignment 
extends java.lang.Object

Utility class containing constants. Specifies horizontal alignment of a floating shape, text frame or floating table.
See Also:
ShapeBase.HorizontalAlignment

Field Summary
static final intNONE = 0
           The object is explicitly positioned, usually using its Left property.
static final intDEFAULT = 0
           Same as NONE.
static final intLEFT = 1
           Specifies that the object shall be left aligned to the horizontal alignment base.
static final intCENTER = 2
           Specifies that the object shall be centered with respect to the horizontal alignment base.
static final intRIGHT = 3
           Specifies that the object shall be right aligned to the horizontal alignment base.
static final intINSIDE = 4
           Specifies that the object shall be inside of the horizontal alignment base.
static final intOUTSIDE = 5
           Specifies that the object shall be outside of the horizontal alignment base.
 

Field Detail

NONE = 0

public static final int NONE
The object is explicitly positioned, usually using its Left property.

DEFAULT = 0

public static final int DEFAULT
Same as NONE.

LEFT = 1

public static final int LEFT
Specifies that the object shall be left aligned to the horizontal alignment base.

CENTER = 2

public static final int CENTER
Specifies that the object shall be centered with respect to the horizontal alignment base.

RIGHT = 3

public static final int RIGHT
Specifies that the object shall be right aligned to the horizontal alignment base.

INSIDE = 4

public static final int INSIDE
Specifies that the object shall be inside of the horizontal alignment base.

OUTSIDE = 5

public static final int OUTSIDE
Specifies that the object shall be outside of the horizontal alignment base.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.