Constructor LayoutMark
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
kindLayoutMarkKindWhat the mark stands for.
xTwipsWhere it is along the line: the pen position (the start of a tab's gap).
baselineTwipsThe line's baseline.
widthTwipsWhat it spans: a tab's gap, the rest of the measure for a page, column or section break; else zero.
fontSizeTwipsThe size of the text the mark belongs to (a paragraph's mark, the run a tab or break is in).
paragraphKeylongThe paragraph's node key, or 0 for no document paragraph.
isRightToLeftboolWhether the paragraph runs right to left.
orientationGlyphOrientationHow the mark's frame is turned on the page.
Exceptions
- ArgumentOutOfRangeException
The kind is not defined, or the width, size or key is negative.