com.spire.doc.documents
Enum HorizontalOrigin

java.lang.Object
  extended by java.lang.Enum<HorizontalOrigin>
      extended by com.spire.doc.documents.HorizontalOrigin
All Implemented Interfaces:
java.lang.Comparable<HorizontalOrigin>

public enum HorizontalOrigin
extends java.lang.Enum<HorizontalOrigin>

Specify object's horizontal origin


Enum Constant Summary
Character
          The object is positioned relative to the left side of the paragraph.
Column
          The object is positioned relative to the left side of the column.
Default
          Default value is .
Inner_Margin_Area
          Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages).
Left_Margin_Area
          Specifies that the horizontal positioning shall be relative to the left margin of the page.
Margin
          Specifies that the horizontal positioning shall be relative to the page margins.
Outer_Margin_Area
          Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages).
Page
          The object is positioned relative to the left edge of the page.
Right_Margin_Area
          Specifies that the horizontal positioning shall be relative to the right margin of the page.
 
Method Summary
 int getValue()
           
 

Enum Constant Detail

Column

public static final HorizontalOrigin Column
The object is positioned relative to the left side of the column.


Margin

public static final HorizontalOrigin Margin
Specifies that the horizontal positioning shall be relative to the page margins.


Page

public static final HorizontalOrigin Page
The object is positioned relative to the left edge of the page.


Character

public static final HorizontalOrigin Character
The object is positioned relative to the left side of the paragraph.


Left_Margin_Area

public static final HorizontalOrigin Left_Margin_Area
Specifies that the horizontal positioning shall be relative to the left margin of the page.


Right_Margin_Area

public static final HorizontalOrigin Right_Margin_Area
Specifies that the horizontal positioning shall be relative to the right margin of the page.


Inner_Margin_Area

public static final HorizontalOrigin Inner_Margin_Area
Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages).


Outer_Margin_Area

public static final HorizontalOrigin Outer_Margin_Area
Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages).


Default

public static final HorizontalOrigin Default
Default value is .

Method Detail

getValue

public int getValue()