Table of Contents

Struct DropCapGeometry

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

What a drop cap's paragraph is given, in Word's numbers (Phase 171, WQ-0151): the cap's size and lowering, and its paragraph's exact line height. DocWright.Layout.DropCapMeasurer measures it from the faces the engine draws with, as Word measures it from the letter's glyph and the text's line pitch.

public readonly struct DropCapGeometry : IEquatable<DropCapGeometry>
Implements
Inherited Members

Constructors

DropCapGeometry(Twips, Twips, Twips, Twips)

Initializes the geometry.

Properties

FontSize

Gets the cap's size.

LineHeight

Gets the cap paragraph's exact line height.

Position

Gets how far the cap is raised; negative lowers it.

SpaceAfter

Gets the space after the paragraph has.

Methods

Equals(DropCapGeometry)
Equals(object?)
GetHashCode()