Table of Contents

Constructor LayoutMark

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

LayoutMark(LayoutMarkKind, Twips, Twips, Twips, Twips, long, bool, GlyphOrientation)

Initializes a mark.

public LayoutMark(LayoutMarkKind kind, Twips x, Twips baseline, Twips width, Twips fontSize, long paragraphKey, bool isRightToLeft, GlyphOrientation orientation)

Parameters

kind LayoutMarkKind

What the mark stands for.

x Twips

Where it is along the line: the pen position (the start of a tab's gap).

baseline Twips

The line's baseline.

width Twips

What it spans: a tab's gap, the rest of the measure for a page, column or section break; else zero.

fontSize Twips

The size of the text the mark belongs to (a paragraph's mark, the run a tab or break is in).

paragraphKey long

The paragraph's node key, or 0 for no document paragraph.

isRightToLeft bool

Whether the paragraph runs right to left.

orientation GlyphOrientation

How the mark's frame is turned on the page.

Exceptions

ArgumentOutOfRangeException

The kind is not defined, or the width, size or key is negative.