load template from file

  • Hi,
    I would like to load a template from file.

    I use the following code to load the template into wprichedit

    Code
    WPToolsEdit.WPRichEdit1.ParStyles.loadfromFile( filename, true )
    WPToolsEdit.WPRichEdit1.ReformatAll( true, true );

    But I can't see the styles.

    redards
    frank[/code]