Method WithAlignment
WithAlignment(TextHorizontalAlignment)
Creates new text format which is a clone of this object but with new horizontal
alignment specified in the horizontalAlignment.
public virtual TextFormat WithAlignment(TextHorizontalAlignment horizontalAlignment)Parameters
- horizontalAlignmentTextHorizontalAlignment
- Horizontal text alignment property of the created text format.