Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordSectionColumn

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
56dd0d38e0b5 with working tree changes
Modifiers
sealed

Describes an explicitly sized section column using physical lengths.

Inheritance

  • object
  • WordSectionColumn

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public WordSectionColumn(OfficeLength width, OfficeLength? spaceAfter = null) #

Creates an immutable column width and optional following gap.

Parameters

width OfficeIMO.OfficeLength required
Column width that rounds to a positive 32-bit twip value.
spaceAfter OfficeIMO.OfficeLength? = null optional
Optional non-negative gap that rounds to a 32-bit twip value. Omission means zero for unequal columns.

Exceptions

  • ArgumentOutOfRangeException – The width rounds to zero or is negative, or the gap is negative.
  • OverflowException – A rounded dimension exceeds the 32-bit twip range.

Properties

public OfficeLength Width { get; } #

Gets the explicitly authored column width. Storage rounds to whole twips.

public OfficeLength? SpaceAfter { get; } #

Gets the optional gap following this column. Null preserves omission in DOCX; native DOC writes its effective zero.