Invalid RTF File!?

Technical support for Spire.Doc

Moderator: iceblue support

Invalid RTF File!?

Postby brubru » Thu Dec 09, 2010 1:47 pm

I'm trying to open a RTF file but it always throw a NullReferenceException.. :-( The RTF opens normally with MS Word..

this is my code:

var document = new Document();
document.LoadFromFile(tempFileName, FileFormat.Rtf);

and this is the file RTF content:


{\f0 Arial;}



{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\FS20wiss\fprq2\fcharset0 Arial;}{\f1\fnil\fcharset0 MS Sans Serif;}}

\viewkind4\uc1\pard\lang1046\f0\FS20 No SIM, os dados prim\'e1rios s\'e3o assim denominados porque:\lang1033\f1\FS20

\par }



Thanks a lot,
Posts: 3
Joined: Tue Nov 30, 2010 6:11 pm

Re: Invalid RTF File!?

Postby » Fri Dec 10, 2010 7:17 am

Hi Bruno

Sorry for any inconvenience we caused.

This problem has been fixed in Spire.Doc 3.6.1, you could get it from ... -v361.html.

From Spire.Doc v3.6.0, the registeration way have been changed. We deprecated the old username-key registeration method and use a new license file instead. You could get more information about the license file from ... nsing.html. If you purchased an old version earlier than v3.6.0, the please use the email address, to which we previously sent your register key, to send me a mail to acquire a new license file.

Technical Support / Developer,
e-iceblue Support Team
User avatar
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests