VDocs.NET
HomeAPI Reference
Back to DOM

DOM.Elements.DocumentGrid

Namespace: DOM.Elements

Represents grid settings used by a section or document to align characters and lines.

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.

3 members

Properties

CharacterSpaceDocumentUnit

Gets or sets the horizontal space reserved per character when character-based grid modes are used.

LinePitchDocumentUnit

Gets or sets the vertical distance between baselines of consecutive lines.

TypeDocGridValues

Gets or sets the document grid type which defines grid behaviour.