Table of Contents

Struct TableWidth

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A table measurement: a value plus its unit (ECMA-376 Part 1 §17.4.87 CT_TblWidth). For Twips the value is twips; for Percent it is fiftieths of a percent (5000 = 100%).

public readonly struct TableWidth : IEquatable<TableWidth>
Implements
Inherited Members

Constructors

TableWidth(TableWidthUnit, int)

Initializes a measurement.

Properties

Unit

Gets the unit.

Value

Gets the raw value (twips for Twips, fiftieths of a percent for Percent).

Methods

Equals(TableWidth)
Equals(object?)
GetHashCode()

Operators

operator ==(TableWidth, TableWidth)

Determines whether two measurements are equal.

operator !=(TableWidth, TableWidth)

Determines whether two measurements differ.