Inserting an image at the end of protected text becomes protected
Posted: Tue May 26, 2026 8:46 pm
On Android, maybe iOS too, if my caret is at the end of protected text and I use the virtual kbd to enter text, the text is not protected which is good. However, if I instead insert an image, the image becomes protected and I can't delete it. What might I be missing or how to avoid?
Thanks,
Eric
Code: Select all
rveTopicComment.TopLevelEditor.BeginUndoGroup(rvutInsert);
rveTopicComment.TopLevelEditor.SetUndoGroupMode(true);
try
if rveTopicComment.InsertPicture(vImagePath,
RVGraphicHandler.LoadFromStream(pReportImage.Image),
TRVVAlign.rvvaBaseline, pDisplayWidth, pDisplayHeight
) then
begin
rveTopicComment.SetCurrentItemExtraStrProperty(
rvespImageFileName, vImagePath, true
);
end;
finally
rveTopicComment.TopLevelEditor.SetUndoGroupMode(false);
end;
Eric