Table of Contents

Method RenderUnit

Namespace
MigraDoc.RtfRendering
Assembly
MigraDoc.RtfRendering.dll

RenderUnit(string, Unit, RtfUnit, bool)

Renders the given Unit as control / value pair of the given RTF control in the given RTF unit, optionally with a star.

protected void RenderUnit(string rtfControl, Unit value, RtfUnit rtfUnit = RtfUnit.Twips, bool withStar = false)

Parameters

rtfControl string
value Unit
rtfUnit RtfUnit
withStar bool