Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IWorkPagesParagraphLayout

OfficeIMO.IWork

Namespace
OfficeIMO.IWork
Assembly
OfficeIMO.IWork
Source revision
273d35d5ba8a with working tree changes
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(float lineSpacingMultiplier = 1, float spaceBeforePoints = 0, float spaceAfterPoints = 0, IEnumerable<IWorkTabStop>? tabStops = null) #

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

Parameters

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

Properties

public float LineSpacingMultiplier { get; } #

Gets the relative line-height multiplier.

public float SpaceBeforePoints { get; } #

Gets additional space before the paragraph in points.

public float SpaceAfterPoints { get; } #

Gets additional space after the paragraph in points.

public IReadOnlyList<IWorkTabStop> TabStops { get; } #

Gets custom tab stops in increasing position order.