Skip to main content

ContentAlignment

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies alignment of content on the drawing surface.

public enum ContentAlignment : Enum

Fields

NameDescription
BottomCenterContent is vertically aligned at the bottom, and horizontally aligned at the center.
BottomLeftContent is vertically aligned at the bottom, and horizontally aligned on the left.
BottomRightContent is vertically aligned at the bottom, and horizontally aligned on the right.
MiddleCenterContent is vertically aligned in the middle, and horizontally aligned at the center.
MiddleLeftContent is vertically aligned in the middle, and horizontally aligned on the left.
MiddleRightContent is vertically aligned in the middle, and horizontally aligned on the right.
TopCenterContent is vertically aligned at the top, and horizontally aligned at the center.
TopLeftContent is vertically aligned at the top, and horizontally aligned on the left.
TopRightContent is vertically aligned at the top, and horizontally aligned on the right.