Back to API Reference
Class
AlignmentModifier
sealed
Inherits:BaseModifier
Sets horizontal alignment, justify mode, and last-line alignment for the paragraphs it covers. Apply whole-text or per range/tag — each paragraph can differ.
Remarks
A table or other block standing wholly in a range aligns with it as a whole, unless its owner sets its own placement. Lines inside a block's cells keep the alignment the block gives them; only a range starting inside a cell aligns its lines.
public HorizontalAlignment Align{ get; set }Horizontal alignment default. A per-range value overrides it; this is the default for a bare tag or whole-text use.
public TextJustify Justify{ get; set }Justify mode default. A per-range value overrides it; this is the default for a bare tag or whole-text use.
public LastLineAlignment LastLine{ get; set }Last-line alignment default. A per-range value overrides it; this is the default for a bare tag or whole-text use.
