Class
PdfInlineRule
OfficeIMO.Pdf
Horizontal ink band that fills the remaining rich-text line, optionally limited to a maximum width.
Inheritance
- PdfInlineElement
- PdfInlineRule
Remarks
The rule has zero intrinsic width. Each layout resolves a fresh band against its actual remaining frame, preserving the source run's font line metrics. Text following a rule wraps normally when the rule consumes the line.
Constructors
public PdfInlineRule(OfficeLength height, OfficeColor color, OfficeLength? maximumWidth = null, OfficeLength baselineOffset = default) #Creates a flexible inline rule with explicit band height and baseline offset, in points.
Parameters
- height OfficeIMO.OfficeLength
- color OfficeIMO.OfficeColor
- maximumWidth OfficeIMO.OfficeLength? = null
- baselineOffset OfficeIMO.OfficeLength = default
Inherited Methods
Properties
public OfficeLength? MaximumWidth { get; } #Optional positive maximum width in points. Null fills all remaining line width.