[sword-devel] Update FilterManager

Richard Parsons richard.parsons at gmail.com
Mon Nov 20 08:34:15 MST 2006

I'm creating a filter manager and passing it into the manager when I
create it and I can display Bible texts in red or with paragraph marks
but I'm wanting to change the FilterManager if I have a check box
unchecked but I'm not seeing a way to change it.  Am I even correct in
assuming that I need to change the FilterManager or is there another
way to do this that I'm missing?

Below is the code I'm using (I'm writing in C# by the way):

MarkupFilterMgr mSWFilterMgr = new
MarkupFilterMgr((char)Sword.FMT_HTMLHREF, (char)Sword.ENC_HTML);
SWMgr mgr = new SWMgr(mSWFilterMgr);
mgr.getModule("KJV").setKey(new VerseKey(txtVerse.Text));

//I would like to change the filter here to turn off the word of Christ in red.

webBrowser1.DocumentText = mgr.getModule("KJV").RenderText();

Thanks for the help,

More information about the sword-devel mailing list