Code: Select all
\trrh
Code: Select all
\trowd\trql\ltrrow\trrh-283\trpaddft3\trpaddt0 .....
Code: Select all
\trowd\trgaph0\trleft0\trrh285\trpaddl0 ....
I'm using a purchased TRichView 16.10.4 and the following code to initilialize my view:
Code: Select all
ADoc := TRichViewEdit.Create(Self);
ADoc.Style := TRVStyle.Create(ADoc);
ADoc.Parent := Self;
ADoc.AnimationMode := rvaniDisabled;
ADoc.DoInPaletteMode := rvpaCreateCopies;
ADoc.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
ADoc.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;
ADoc.RTFReadProperties.ReadDocParameters := true;
ADoc.RTFReadProperties.SkipHiddenText := false;
ADoc.RVFOptions := [rvfoSavePicturesBody, rvfoSaveControlsBody, rvfoSaveBinary, rvfoSaveTextStyles,
rvfoSaveParaStyles, rvfoSaveDocProperties, rvfoLoadDocProperties, rvfoSaveDocObjects, rvfoLoadDocObjects];
ADoc.RTFOptions := [rvrtfSaveEMFAsWMF, rvrtfDuplicateUnicode, rvrtfSaveJpegAsJpeg, rvrtfSaveDocParameters,
rvrtfSaveHeaderFooter];