Class PageTextSpan
- Namespace
- ComOfficeKit
- Assembly
- ComOfficeKit.dll
A stretch of a line drawn in one size at one baseline (Spans), with where each of its characters starts.
public sealed class PageTextSpan
- Inheritance
-
PageTextSpan
- Inherited Members
Properties
Advances
Each UTF-16 code unit's advance in points, Length of them: the n-th code unit starts at X plus the first n advances. A glyph drawn for several code units, such as a ligature or a character outside the Basic Multilingual Plane, has its advance shared among them.
public IReadOnlyList<double> Advances { get; }
Property Value
Baseline
The span's baseline, in points before the line's turn: the line's own, or a superscript's or a subscript's.
public double Baseline { get; }
Property Value
FontSize
The size the span is drawn at, in points.
public double FontSize { get; }
Property Value
Length
How many UTF-16 code units of the line's text the span holds.
public int Length { get; }
Property Value
Start
Where the span's text starts in its line's Text, in UTF-16 code units.
public int Start { get; }
Property Value
Width
How far the span runs along the line, in points.
public double Width { get; }
Property Value
X
Where the span's first character starts along the line, in points, before the line's turn.
public double X { get; }