API Reference
Struct
OfficeTextLine
Represents one measured line produced by the shared dependency-free text layout helper.
Inheritance
- ValueType
- OfficeTextLine
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Constructors
public OfficeTextLine(String text, Double width, Double offsetX = 0) #Creates a measured text line.
Parameters
- text System.String
- Line text.
- width System.Double
- Measured line width in the same coordinate space as the caller's font size.
- offsetX System.Double = 0
- Additional x offset applied to this line inside the text frame.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object
Properties
public Double OffsetX { get; } #Additional x offset applied to this line inside the text frame.