Method TranslateBool
- Namespace
- MigraDoc.RtfRendering
- Assembly
- MigraDoc.RtfRendering.dll
TranslateBool(string, string, string, bool)
Translates a value named 'valueName' to a Rtf Control word that specifies a boolean and divides in two control words. If the control word in false case is simply left away, you can also use the Translate function as well.
protected void TranslateBool(string valueName, string rtfTrueCtrl, string rtfFalseCtrl, bool withStar)
Parameters
valueNamestringrtfTrueCtrlstringrtfFalseCtrlstringwithStarbool