VegaRise.NET
Back to DOM

HorizontalRelativePositionValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the reference frame used for horizontal positioning of a floating element.

Remarks

Used by . Determines what the alignment or absolute X offset is measured against. Position.HorizontalRelativePosition

Examples

csharp
1// 1. Relative to the page
2var p = new Position { HorizontalRelativePosition = HorizontalRelativePositionValues.page };
3
csharp
1// 2. Relative to the margins
2var p = new Position { HorizontalRelativePosition = HorizontalRelativePositionValues.margin };
3
csharp
1// 3. Relative to the column
2var p = new Position { HorizontalRelativePosition = HorizontalRelativePositionValues.column };
3
csharp
1// 4. Relative to the character
2var p = new Position { HorizontalRelativePosition = HorizontalRelativePositionValues.character };
3

Fields

character

Relative to the current character.

column

Relative to the current column.

insideMargin

Relative to the inside margin (facing pages).

leftMargin

Relative to the left margin.

margin

Relative to the page margins.

none

No explicit reference frame.

outsideMargin

Relative to the outside margin (facing pages).

page

Relative to the page edges.

rightMargin

Relative to the right margin.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.