Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

LatexSourceSpan

Namespace OfficeIMO.Latex
Assembly OfficeIMO.Latex
Base ValueType
Implements
IEquatable<LatexSourceSpan>
Modifiers sealed

Half-open span in decoded LaTeX source.

Inheritance

  • ValueType
  • LatexSourceSpan

Usage

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

Accepted by parameters

Methods

public Boolean ContainsOffset(Int32 offset) #
Returns: Boolean

Tests whether an offset is inside the span.

Parameters

offset System.Int32 requiredposition: 0
Equals 2 overloads
public virtual Boolean Equals(LatexSourceSpan other) #
Returns: Boolean

Parameters

other OfficeIMO.Latex.LatexSourceSpan requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public String Slice(String source) #
Returns: String

Returns the represented source slice.

Parameters

source System.String requiredposition: 0
public override String ToString() #
Returns: String

Properties

public LatexSourcePosition Start { get; } #

Start position.

public LatexSourcePosition End { get; } #

Exclusive end position.

public Int32 Length { get; } #

Character length.