Validtion on Richtext Field

I am trying to put attachment & print sreenvalidatin on richtext field in a client application…

i can check the attachment or written text in a reichtext field … but if i take the print screen and paste it in the richtext field… then i am enable to read the print screen … Can someone help me how i can read the print screen form the richtext field.

Subject: Validtion on Richtext Field

Screenshot gets added to rich text field as an embedded object. You can access the embedded object with the code in this example:Page Not Found

Regards

Byju Joy

Subject: RE: Validtion on Richtext Field

Hi Code given on the above link is not working in case of screen shot . Because screen shot is not taken as a attachment/Embedded object by richtext field

Subject: RE: Validtion on Richtext Field

Sorry, but that’s not correct. An embedded image isn’t the same as an embedded object…

It used to be the case that you could tell whether the rich text field was empty by using the SelectAll method, which would error if the field was empty. I kind of think maybe this doesn’t work anymore, and all it tells you is whether the field is empty – not whether it contains a pasted graphic.

The “Midas” package from Genii Software could probably help with this, or if you wanted to roll your own, you could use DXL to export the document, then parse the result (or just do a string search) to see whether it contains entities of the type you’re interested in.