Class RectangleAlignmentValues
Defines the RectangleAlignmentValues enumeration.
Inheritance
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class RectangleAlignmentValues : Enum
Anchor content within its bounding rectangle by picking a RectangleAlignmentValues value, which sets the reference point used for placement. None applies no explicit anchor, Center seats content in the middle, and the edge and corner values (Top, Bottom, Left, Right, TopLeft, TopRight, BottomLeft, BottomRight) pin it to a side or corner of the rectangle. The add image guide covers positioning placed objects.
var anchor = RectangleAlignmentValues.Center;Fields
Bottom
b.
When the item is serialized out as xml, its value is "b".
Declaration
public const RectangleAlignmentValues Bottom
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
BottomLeft
bl.
When the item is serialized out as xml, its value is "bl".
Declaration
public const RectangleAlignmentValues BottomLeft
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
BottomRight
br.
When the item is serialized out as xml, its value is "br".
Declaration
public const RectangleAlignmentValues BottomRight
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
Center
ctr.
When the item is serialized out as xml, its value is "ctr".
Declaration
public const RectangleAlignmentValues Center
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
Left
l.
When the item is serialized out as xml, its value is "l".
Declaration
public const RectangleAlignmentValues Left
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
None
none.
When the item is serialized out as xml, its value is "none".
Declaration
public const RectangleAlignmentValues None
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
Right
r.
When the item is serialized out as xml, its value is "r".
Declaration
public const RectangleAlignmentValues Right
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
Top
t.
When the item is serialized out as xml, its value is "t".
Declaration
public const RectangleAlignmentValues Top
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
TopLeft
tl.
When the item is serialized out as xml, its value is "tl".
Declaration
public const RectangleAlignmentValues TopLeft
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
TopRight
tr.
When the item is serialized out as xml, its value is "tr".
Declaration
public const RectangleAlignmentValues TopRight
Field Value
| Type | Description |
|---|---|
| RectangleAlignmentValues |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |