Document Layout
The document layout represents the physical model of a document constructed by the Layout Engine from the logical Document Model. The hierarchical structure of a document layout is illustrated in the picture below.
Page settings are specified for each document section via the Section.Page and Section.Margins properties. The Section.Columns property provides access to columns defined in the current section via the SectionColumns interface. To divide a section into columns, use the SectionColumns.CreateUniformColumns method to create a columns layout and the SectionColumns.SetColumns method to apply the layout.
To determine correspondence between logical and physical document structures, the RichEditControl.GetPositionFromPoint and the RichEditControl.GetBoundsFromPosition methods can be helpful.