In an application I'm loading a RTF value from a database into a richtextbox.
After setting the RTF property of the richtextbox control I notice that this value is different than the database value
Well it is something like this
richtextbox.rtf = 'databasevalue'
but after this statement I notice that the richtextbox.rtf value is not equal to 'databasevalue'
Here is my rtf value (from the database)
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttb l{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\fnil\fcharset0 Arial;}}
\viewkind4\uc1\pard\lang1043\f0\fs20 KLINISCHE INLICHTINGEN:\par
\par
\par
MACROSCOPISCH ONDERZOEK: \par
Placenta: *** gram. \par
- Navelstreng: 3 bloedvaten, normale coiling, *** ingeplant.\par
- Vliezen: volledig en normaal voorkomend.\par
- Placentakoek: ** x ** x ** cm. Geen gelokaliseerde letsels. \par
Macroscopisch normaal voorkomende placenta. \par
\par
MICROSCOPISCH ONDERZOEK: \par
Navelstreng en vliezen zijn normaal voorkomend. Geen argumenten voor chorioamnionitis, funisitis of meconiumbelading. \par
Het placentaparenchym is matuur voorkomend met voldoende syncytiotrofoblastische kernophopingen en syncytiovasculaire \par
membranen. Geen ontsteking, geen infarcten. Geen histopathologische bijzonderheden.\par
\par
\b\f1 BESLUIT: \par
\b0\f0 Mature placenta zonder afwijkingen. \par
\pard\lang1033\f1\fs20\par
}
"
And this is the value of rtf propery after setting the richtextbox.rtf with the database value:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl {\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\fnil\fcharset0 Arial;}}
\viewkind4\uc1\pard\lang1043\f0\fs20 KLINISCHE INLICHTINGEN:\par
\par
\par
MACROSCOPISCH ONDERZOEK: \par
Placenta: *** gram. \par
- Navelstreng: 3 bloedvaten, normale coiling, *** ingeplant.\par
- Vliezen: volledig en normaal voorkomend.\par
- Placentakoek: ** x ** x ** cm. Geen gelokaliseerde letsels. \par
Macroscopisch normaal voorkomende placenta. \par
\par
MICROSCOPISCH ONDERZOEK: \par
Navelstreng en vliezen zijn normaal voorkomend. Geen argumenten voor chorioamnionitis, funisitis of meconiumbelading. \par
Het placentaparenchym is matuur voorkomend met voldoende syncytiotrofoblastische kernophopingen en syncytiovasculaire \par
membranen. Geen ontsteking, geen infarcten. Geen histopathologische bijzonderheden.\par
\par
\b\f1 BESLUIT: \par
\b0\f0 Mature placenta zonder afwijkingen. \par
\lang1033\f1\par
}
At the end of the 'new' rtf value you can see the difference
\pard\lang1033\f1\fs20\par became \lang1033\f1\par
Any idea? It's annoying because I track every change, so after the initial load it seems after I load the RTF value, it seems to have changed although it's not the case.
Thanks in advance