[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Getting Started
     ASPxRichEdit Control
     [Expand]Document Model
      Document Layout
     Supported Document Formats and Printing
     Import and Export
     Formatting Characters
     Formatting Paragraphs
     Mail Merge
     Table of Contents
     Spell Checking
    [Expand]Client API
    [Expand]Built-in Dialogs
     HTML Tag Interpretation
     Keyboard Shortcuts
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Document Layout

The document layout represents the physical model of the document, constructed by the Layout Engine from the logical Document Model. The hierarchical structure of the document layout is illustrated in the picture below.

The following list provides the information about the main document layout structural elements (from top to bottom nesting levels).

  • Page
    • The offset in the Document Model's text buffer. This offset specifies the beginning of the main sub-document's content. This offset does not depend on the contents of other sub-documents.
    • A list of Page Areas that are parts of the main sub-document.
    • A dictionary containing Page Areas of the Page's all sub-documents except for the main sub-document.

  • Page Area
    • The offset that specifies where within the Page layout element the Page Area content begins.
    • A list of Columns. All Page Areas that relate to other (not main) sub-documents, contain a single Column.

  • Column
    • The offset that specifies where within the Page Area layout element the Column content begins.
    • A list of Rows.
    • A list of Paragraph Frames (rectangles with the applied color, such as the paragraph background color).
    • A list of LayoutTableColumnInfo objects exposing the information about tables contained within the Column.

  • Row
    • The offset that specifies where within the Column layout element the Row content begins.
    • A list of Boxes.

  • Box
    • The offset that specifies where within the Row layout element the Box content begins.
    • The content specific for certain box types (such as LayoutColumnBreakBox, LayoutDashBox, LayoutLineBreakBox, LayoutSpaceBox, LayoutTabSpaceBox, LayoutTextBox).

Is this topic helpful?​​​​​​​