Sets or returns the horizontal alignment of text within the comment.

 public HAlign HorizontalAlignment{ get; set; }
Public Property HorizontalAlignment() As HAlign

Attempting to set HorizontalAlignment to null will result in this exception.

This property follows Excel 2010 default behavior, namely defaulting to left-aligned.