Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Enum HorizontalAlignment

Specifies the horizontal alignment of a SvgVisual element relative to a reference element. Used by AlignRelativeTo(SvgVisual, HorizontalAlignment?, VerticalAlignment?).

Namespace: OpenSvg
Assembly: OpenSvg.dll
Syntax
public enum HorizontalAlignment

Fields

Name Description
CenterWithCenter

Align the horizontal center of the element with the horizontal center of the reference.

CenterWithLeft

Align the horizontal center of the element with the left edge of the reference.

CenterWithRight

Align the horizontal center of the element with the right edge of the reference.

LeftWithCenter

Align the left edge of the element with the horizontal center of the reference.

LeftWithLeft

Align the left edge of the element with the left edge of the reference.

LeftWithRight

Align the left edge of the element with the right edge of the reference.

RightWithCenter

Align the right edge of the element with the horizontal center of the reference.

RightWithLeft

Align the right edge of the element with the left edge of the reference.

RightWithRight

Align the right edge of the element with the right edge of the reference.

See Also
SvgVisual
VerticalAlignment