Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlRenderText

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

Positioned text segment retained as text for image and PDF backends.

Inheritance

Properties

public String Text { get; } #

Text content represented by this visual segment.

public OfficeFontInfo Font { get; } #

Resolved font family, size, and compatibility style flags.

public OfficeFontFaceDescriptor FontDescriptor { get; } #

Resolved CSS face weight, stretch, and slant requested for this text.

public OfficeColor Color { get; } #

Resolved text color.

public OfficeTextAlignment Alignment { get; } #

Resolved horizontal text alignment.

public Double LineHeight { get; } #

Resolved line height in CSS pixels.

public String? SemanticRole { get; } #

Optional semantic role such as heading, paragraph, or list item.

public Int32? SemanticNodeId { get; } #

Stable operation-scoped semantic node identifier shared by fragments from the same source element.

public Double? TextAdvanceWidth { get; } #

Resolved signed glyph advance for positioned inline text, distinct from its non-negative clipping frame.

public Double? TextPaintWidth { get; } #

Measured glyph-paint width before CSS letter and word spacing are added to the positioned advance.

public OfficeTextDecorationStyle UnderlineStyle { get; } #

Resolved CSS underline pattern.

public OfficeTextDecorationStyle StrikethroughStyle { get; } #

Resolved CSS strikethrough pattern.

public OfficeColor DecorationColor { get; } #

Resolved CSS color used to paint underlines and strikethroughs.

public OfficeTextFeatureSettings FeatureSettings { get; } #

Resolved OpenType feature selections for this text run.

public String FontPalette { get; } #

Resolved CSS font-palette value.

public OfficeTextBaseline Baseline { get; } #

Resolved CSS script baseline.

public Int32 BaselineLevel { get; } #

Resolved cumulative CSS script nesting level.

public Double BaselineScale { get; } #

Resolved cumulative CSS script font-size scale.

public Double BaselineOffset { get; } #

Resolved cumulative CSS baseline displacement in layout units; negative values raise text.