ContentAlignment Enumeration

Specifies alignment of content on the drawing surface.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public enum ContentAlignment
Members
  Member nameValueDescription
TopLeft1 Content is vertically aligned at the top, and horizontally aligned on the left.
TopCenter2 Content is vertically aligned at the top, and horizontally aligned at the center.
TopRight4 Content is vertically aligned at the top, and horizontally aligned on the right.
MiddleLeft16 Content is vertically aligned in the middle, and horizontally aligned on the left.
MiddleCenter32 Content is vertically aligned in the middle, and horizontally aligned at the center.
MiddleRight64 Content is vertically aligned in the middle, and horizontally aligned on the right.
BottomLeft256 Content is vertically aligned at the bottom, and horizontally aligned on the left.
BottomCenter512 Content is vertically aligned at the bottom, and horizontally aligned at the center.
BottomRight1024 Content is vertically aligned at the bottom, and horizontally aligned on the right.
See Also