ContentAlignmentStyles

Use these constants to specify the alignment of content on the drawing surface.

  • ContentAlignmentStyle_BottomCenter –(Value: 8) Content is vertically aligned at the bottom and horizontally aligned in the center.
  • ContentAlignmentStyle_BottomLeft –(Value: 6) Content is vertically aligned at the bottom and horizontally aligned on the left.
  • ContentAlignmentStyle_BottomRight –(Value: 7) Content is vertically aligned at the bottom and horizontally aligned on the right.
  • ContentAlignmentStyle_MiddleCenter –(Value: 2) Content is vertically aligned in the middle and horizontally aligned in the center.
  • ContentAlignmentStyle_MiddleLeft –(Value: 0) Content is vertically aligned in the middle and horizontally aligned on the left.
  • ContentAlignmentStyle_MiddleRight –(Value: 1) Content is vertically aligned in the middle and horizontally aligned on the right.
  • ContentAlignmentStyle_TopCenter –(Value: 5) Content is vertically aligned at the top and horizontally aligned in the center.
  • ContentAlignmentStyle_TopLeft –(Value: 3) Content is vertically aligned at the top and horizontally aligned on the left.
  • ContentAlignmentStyle_TopRight –(Value: 4) Content is vertically aligned at the top and horizontally aligned on the right.

See Also

Button.ImageAlignment

Button.TextAlignment

CheckBox.ImageAlign

CheckBox.TextAlign