Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

WordLineSpacing

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
e163ccb36643 with working tree changes
Base
ValueType
Implements
IEquatable<WordLineSpacing>
Modifiers
sealed

Word line spacing expressed as a line multiple or a physical line height.

Inheritance

  • ValueType
  • WordLineSpacing

Remarks

Default is an explicit zero multiple. Native quantization occurs when assigned to a paragraph.

Usage

Explore 10 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.

Accepted by parameters 5

Methods

public static WordLineSpacing AtLeast(OfficeLength height) #

Creates a minimum physical line height; zero remains explicit.

Parameters

height OfficeIMO.OfficeLength required
Equals 2 overloads
public bool Equals(WordLineSpacing other) #

Indicates whether the current object is equal to another object of the same type.

Parameters

other OfficeIMO.Word.WordLineSpacing required
An object to compare with this object.

Returns

bool true if the current object is equal to the other parameter; otherwise, false.
public override bool Equals(object? obj) #

Indicates whether this instance and a specified object are equal.

Parameters

obj object? required
The object to compare with the current instance.

Returns

bool true if obj and this instance are the same type and represent the same value; otherwise, false.
public static WordLineSpacing Exact(OfficeLength height) #

Creates a fixed physical line height; zero remains explicit.

Parameters

height OfficeIMO.OfficeLength required
public override int GetHashCode() #

Returns the hash code for this instance.

Returns

int A 32-bit signed integer that is the hash code for this instance.
public static WordLineSpacing Multiple(double value) #

Creates automatic spacing. One means single spacing; zero remains an explicit authored zero.

Parameters

value double required
public static bool op_Equality(WordLineSpacing left, WordLineSpacing right) #

Compares spacing values, including their interpretation.

Parameters

left OfficeIMO.Word.WordLineSpacing required
right OfficeIMO.Word.WordLineSpacing required

Returns

bool
public static bool op_Inequality(WordLineSpacing left, WordLineSpacing right) #

Compares spacing values, including their interpretation.

Parameters

left OfficeIMO.Word.WordLineSpacing required
right OfficeIMO.Word.WordLineSpacing required

Returns

bool

Properties

public WordLineSpacingRule Rule { get; } #

Gets the spacing interpretation; it cannot be changed independently of the value.

public double? MultipleValue { get; } #

Gets a line multiple for automatic spacing, otherwise null.

public OfficeLength? Height { get; } #

Gets a physical height for exact or minimum spacing, otherwise null.