Struct
OfficeTextLine
OfficeIMO.Drawing
Represents one measured line produced by the shared dependency-free text layout helper.
Inheritance
- ValueType
- OfficeTextLine
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
Accepted by parameters 3
Constructors
public OfficeTextLine(string text, double width, double offsetX = 0) #Creates a measured text line.
Parameters
- text string
- Line text.
- width double
- Measured line width in the same coordinate space as the caller's font size.
- offsetX double = 0
- Additional x offset applied to this line inside the text frame.
Inherited Methods
Properties
public double OffsetX { get; } #Additional x offset applied to this line inside the text frame.