Hello,
as soon as I paste pictures into my RTF (WPRichText) the converted PDF is empty from the start of the embedded picture. What am I doing wrong here?
// Load RTF into TStringList
lTemp.LoadFromFile(ListView.Items[I].Caption);
lRtfContent.Add(lTemp.Text);
....
WPRichText1.AsString := lRtfContent[J];
WPRichText1.ReplaceTokens('<', '>', '');
WPRichText1.MergeText;
WPRichText1.ReformatAll(True, False);
bDone := False;
while not bDone do
begin
try
WPPDFExport1.FileName := GetUserDocumentFileName(lRtfFiles[J], 'pdf', iId);
WPPDFExport1.Print;
bDone := True;
except
end;
end;
Thank you for your help.
Regards
Michael