Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeTextParagraphIndent

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Base
ValueType
Implements
IEquatable<OfficeTextParagraphIndent>
Modifiers
sealed

Describes reusable first-line and continuation-line offsets inside a text frame.

Inheritance

  • ValueType
  • OfficeTextParagraphIndent

Usage

Explore 28 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 20

Constructors

public OfficeTextParagraphIndent(double firstLineOffset, double continuationLineOffset) #

Creates a paragraph indentation descriptor.

Parameters

firstLineOffset double required
Additional offset applied to the first visual line of each paragraph.
continuationLineOffset double required
Additional offset applied to wrapped continuation lines.

Methods

Equals 2 overloads
public bool Equals(OfficeTextParagraphIndent other) #

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

Parameters

other OfficeIMO.Drawing.OfficeTextParagraphIndent 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 OfficeTextParagraphIndent FirstLine(double offset) #

Creates a first-line indentation descriptor.

Parameters

offset double 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 OfficeTextParagraphIndent Hanging(double offset) #

Creates a hanging indentation descriptor.

Parameters

offset double required
public static bool op_Equality(OfficeTextParagraphIndent left, OfficeTextParagraphIndent right) #

Compares two indentation descriptors for equality.

Parameters

left OfficeIMO.Drawing.OfficeTextParagraphIndent required
right OfficeIMO.Drawing.OfficeTextParagraphIndent required

Returns

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

Compares two indentation descriptors for inequality.

Parameters

left OfficeIMO.Drawing.OfficeTextParagraphIndent required
right OfficeIMO.Drawing.OfficeTextParagraphIndent required

Returns

bool
public OfficeTextParagraphIndent Scale(double scale) #

Scales indentation offsets by a positive rendering factor.

Parameters

scale double required

Properties

public static OfficeTextParagraphIndent Empty { get; } #

Represents text without paragraph indentation.

public double FirstLineOffset { get; } #

Additional offset applied to the first visual line of each paragraph.

public double ContinuationLineOffset { get; } #

Additional offset applied to wrapped continuation lines.

public double MaximumOffset { get; } #

Largest line offset used by this paragraph indentation.

public bool IsEmpty { get; } #

Whether the indentation has no visual effect.