Class TextColumnRegion
Where a section's text column is on a page (Phase 150): one per column of each column band (a page's columns, and again from a continuous section break that changes them mid-page). A consumer draws Word's ruler for a multi-column section with it, or maps a point to its column, without re-deriving the layout.
public sealed class TextColumnRegion : ILayoutPrimitive
- Inheritance
-
TextColumnRegion
- Implements
- Inherited Members
Remarks
Layout emits them when source references are on (LayoutEngine.EmitSourceReferences,
LayoutSessionOptions.EmitSourceReferences), at the end of each band, after the band's content. A band runs
from where its columns start to where the next column set starts or the page's content ends, whether or not the
columns were filled. A one-column section has one region per band.
Renderers ignore it: a PDF or an image is the same bytes with or without it.
Constructors
- TextColumnRegion(Twips, Twips, Twips, Twips, int, int)
Initializes a region.
Properties
- ColumnCount
Gets how many columns the band has.
- ColumnIndex
Gets the column's index in its band, from 0.
- Height
Gets the band's height.
- Width
Gets the column's width.
- X
Gets the column's left.
- Y
Gets the band's top.
Methods
- WithBounds(Twips, Twips, Twips, Twips)
The same region at another place: what a turned frame maps it to.