Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

IWorkPagesParagraphLayout

Namespace OfficeIMO.IWork
Assembly OfficeIMO.IWork
Modifiers sealed

Immutable spacing and custom tab stops for an owned native Pages body paragraph.

Inheritance

  • Object
  • IWorkPagesParagraphLayout

Remarks

Paragraphs remain left-aligned, with zero indents and a 36-point default tab interval. Custom layout uses a period for decimal tabs. No tab leaders are authored.

Usage

Explore 5 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

Accepted by parameters 4

Constructors

public IWorkPagesParagraphLayout(Single lineSpacingMultiplier = 1, Single spaceBeforePoints = 0, Single spaceAfterPoints = 0, IEnumerable<IWorkTabStop>? tabStops = null) #

Creates a paragraph layout with positive relative line spacing and nonnegative before/after spacing.

Parameters

lineSpacingMultiplier System.Single = 1 optionalposition: 0
Relative line height; 1 means single spacing.
spaceBeforePoints System.Single = 0 optionalposition: 1
Additional space before the paragraph in points.
spaceAfterPoints System.Single = 0 optionalposition: 2
Additional space after the paragraph in points.
tabStops System.Collections.Generic.IEnumerable<OfficeIMO.IWork.IWorkTabStop>? = null optionalposition: 3
Custom stops, copied and sorted by position. Positions must be unique.

Properties

public Single LineSpacingMultiplier { get; } #

Gets the relative line-height multiplier.

public Single SpaceBeforePoints { get; } #

Gets additional space before the paragraph in points.

public Single SpaceAfterPoints { get; } #

Gets additional space after the paragraph in points.

public IReadOnlyList<IWorkTabStop> TabStops { get; } #

Gets custom tab stops in increasing position order.