DocumentGridClass
Definition
- Namespace
- DOM.Elements
- Assembly
- DOM.dll
Represents grid settings used by a section or document to align characters and lines.
Remarks
The document grid controls typographic alignment and snapping behavior. It is used by layout engines to determine character spacing, line pitch and how content snaps to a grid. This class derives from and implements . BaseElement IDocumentGrid The grid is typically used in East Asian typography to align CJK characters and to enforce a consistent baseline pitch across paragraphs. It can also be used in mixed scripts to align Latin text with an underlying pitch.
Examples
Properties
Gets or sets the horizontal space reserved per character when character-based grid modes are used.
Gets or sets the vertical distance between baselines of consecutive lines.
Gets or sets the document grid type which defines grid behaviour.