RTF-image size proplem with fastreport and wordpad under Win
Posted: Thu Jun 11, 2015 8:40 am
RTF-image size proplem with fastreport and wordpad under Win 8.
My settings:
rv.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
rv.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;
rv.RVFOptions := rv.RVFOptions + [rvfoSaveTextStyles];
rv.RVFOptions := rv.RVFOptions + [rvfoSaveParaStyles];
rv.RTFOptions := rv.RTFOptions - [rvrtfSaveJpegAsJpeg];
rv.RTFOptions := rv.RTFOptions + [rvrtfSaveBitmapDefault];
My Version: v14.9.3
This is a rtf-file wich was saved with TRichviewEdit.
If i want to print this file with fastreport the imagesize is under Win 8 not the same as in TRichviewEdit
It is the original size.
Under Win 7 it is the same imagesize as in TRichviewEdit.
If you want to test it then open this rtf-file with wordpad under Win7 and under Win8.
You can see the different.
Fastreport behaves exactly.
Do you have an idea how I can solve the problem under Win8?
Oh, I would like to attach the RTF file, but it is unfortunately too big.
But maybe you already know the problem and can help me without rtf-file.
My settings:
rv.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
rv.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;
rv.RVFOptions := rv.RVFOptions + [rvfoSaveTextStyles];
rv.RVFOptions := rv.RVFOptions + [rvfoSaveParaStyles];
rv.RTFOptions := rv.RTFOptions - [rvrtfSaveJpegAsJpeg];
rv.RTFOptions := rv.RTFOptions + [rvrtfSaveBitmapDefault];
My Version: v14.9.3
This is a rtf-file wich was saved with TRichviewEdit.
If i want to print this file with fastreport the imagesize is under Win 8 not the same as in TRichviewEdit
It is the original size.
Under Win 7 it is the same imagesize as in TRichviewEdit.
If you want to test it then open this rtf-file with wordpad under Win7 and under Win8.
You can see the different.
Fastreport behaves exactly.
Do you have an idea how I can solve the problem under Win8?
Oh, I would like to attach the RTF file, but it is unfortunately too big.
But maybe you already know the problem and can help me without rtf-file.