Get Image / Object ID Inserted in a TcxRichEdit

0

Is there any way to get the ID of an image or object inserted into a RichEdit? I've tried:

   IDRichEdit[I]:=RichEdit.Lines.Objects[I].GetHashCode;

But it gives AccessViolation.

Update: The image / object has the following inherent char in RichEdit:

The problem is that it stays the same even when you insert different objects or images.

As long as I can assign an ID to each of these Chars.

Thank you.

    
asked by anonymous 09.12.2016 / 12:00

0 answers