Aspose.words.drawing.HorizontalAlignment enumeration. Specifies horizontal alignment of a floating shape, text frame or floating table....floating image to the center of a page. doc = aw . Document () builder...overlapping text and align it to the page's center. shape = builder ....