Table of Contents

Constructor DropCapGeometry

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

DropCapGeometry(Twips, Twips, Twips, Twips)

Initializes the geometry.

public DropCapGeometry(Twips fontSize, Twips position, Twips lineHeight, Twips spaceAfter)

Parameters

fontSize Twips

The cap's size: a whole half-point, 1 to 1638 pt.

position Twips

How far the cap is raised (negative: lowered), a whole half-point within 1584 pt.

lineHeight Twips

The cap paragraph's exact line height, 1 twip to 22 inches.

spaceAfter Twips

The space after the paragraph has, which the cap's paragraph sets to none (Word writes after="0" then).

Exceptions

ArgumentOutOfRangeException

A value is out of range or not on its grain.