Click or drag to resize
HorizontalPositionAnchor Enumeration
Represents a horizontal position to which the parent object has been anchored in the document. This anchor position shall be used as the base location to determine the final horizontal position of the object in the document.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public enum HorizontalPositionAnchor
Members
  Member nameValueDescription
Margin0 Specifies that the parent object shall be horizontally anchored to the text margins.
Page1 Specifies that the parent object shall be horizontally anchored to the page edge.
Column2 Specifies that the parent object shall be horizontally anchored to the text extents.
Character3 Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.
LeftMargin4 Specifies that the horizontal positioning shall be relative to the left margin of the page.
RightMargin5 Specifies that the horizontal positioning shall be relative to the right margin of the page.
InsideMargin6 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).
OutsideMargin7 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).
See Also