Struct RichLength
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
A physical document length with RTF twip precision: twenty twips per point.
public readonly record struct RichLength : IEquatable<RichLength>
- Implements
- Inherited Members
Constructors
RichLength(int)
A physical document length with RTF twip precision: twenty twips per point.
public RichLength(int Twips)
Parameters
Twipsint
Properties
Points
Gets the length in typographic points.
public double Points { get; }
Property Value
Twips
public int Twips { get; init; }
Property Value
Methods
FromPoints(double)
Quantizes points to the nearest twip, with midpoints rounded away from zero.
public static RichLength FromPoints(double points)
Parameters
pointsdouble