<< Click to Display Table of Contents >> TNGRtfFormat |
|
NGDropSource.Add(CF.RTF.Data(s))
.Execute;
NGDropTarget.Register(MyTargetPanel, procedure(C: TNGTargetContext)
var
s: RawByteString;
begin
if C.Accept(CF.RTF.Ref(@s)) then
ShowRtf(s);
end);
Please look at provided demo project to understand how to get RTF data from TRichEdit Delphi component, and how to set it back.