RenderToRichTextItem does not copy all information

Hello,

i am trying to get a snapshot of a document to send it via mail.

I am unsing RenderToRichTextItem with a return value of -1 (True) what should mean that there was no error.

But if i look onto the result only parts of the document were rendered. Especially the Memo Body is missing.

If i open the document and do a cut and paste all text is available as it should be.

Any idea what could be the error?

Thanks

Günter

Subject: RenderToRichTextItem does not copy all information

HI Guenter

Is the return 1 or -1.

Boolean. If True, the method was successful. If False, the method was not successful and the rich text item remains unchanged. This can happen if an input validation formula fails on the document’s form.

Subject: RE: RenderToRichTextItem does not copy all information

Hello Mahesh,

thanks for responding.

The ReturnValue is -1.

“Specifies a variable that contains a True (-1) or False (0) value.”

So i guess that the method was successfull. A part of the text is visible in the result doc. But the rtf-part is missing.

As i mentioned before - i even tried to render an open document where i could see all information on the screen.

There was also information missing in the result document.

Regards

G.