[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Getting Started
   [Collapse]Concepts
     ASPxRichEdit Control
    [Collapse]Document
     [Expand]Document Model
      Document Layout
     Supported Document Formats and Printing
     Import and Export
     Formatting Characters
     Formatting Paragraphs
     AutoCorrect
    [Expand]Fields
     Mail Merge
     Table of Contents
     Restrictions
     Spell Checking
    [Expand]Client API
    [Expand]Built-in Dialogs
     Adaptivity
     HTML Tag Interpretation
     Keyboard Shortcuts
   [Expand]Examples
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [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]Localization
 [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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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
    Contains:
    • 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
    Contains:
    • 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
    Contains:
    • 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
    Contains:
    • The offset that specifies where within the Column layout element the Row content begins.
    • A list of Boxes.

  • Box
    Contains:
    • 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?​​​​​​​