Table of Contents

Class DocxMath

Namespace
PDiffy
Assembly
PDiffy.dll

An equation: the characters of its text in order, such as "x=a+b", and a hash of how it's built, which changes when, for example, a fraction becomes a division even though the characters stay the same.

public sealed record DocxMath : DocxInline, IEquatable<DocxInline>, IEquatable<DocxMath>
Inheritance
DocxMath
Implements
Inherited Members

Properties

Hash

The first 16 hex digits of a SHA-256 of the equation's XML, leaving out editing-session IDs, relationship IDs, namespace prefixes and the indenting between elements, which change without the equation changing.

public required string Hash { get; init; }

Property Value

string

Text

The characters of the equation's text runs (m:t), in order; empty when it has none.

public required string Text { get; init; }

Property Value

string