rvuCentimeters

General TRichView support forum. Please post your questions here
Post Reply
BernhardRoos
Posts: 104
Joined: Mon Nov 26, 2007 1:49 pm

rvuCentimeters

Post by BernhardRoos »

Hello,
I've set in DocParameters.Units rvuCentimeters. PageWidth is set to 21. But if I start my application and start the Editor (over the Reportbuilder) then PageWidth is set to 33. If I change then the PageWidth to 21 with the mouse and then print it with the reportbuilder, the PageWidth is very smaller (I see this, because the word wrap is too early).
Can it be that there is a problem with rvuCentimeters. Does RichView calculate with Inches?
Best wishes
Bernhard
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RichViewEdit.DocParameters property does not affect how documents are displayed. Its primary use is to save this information in RTF files (and in RVF files).
TRVRuler cannot change them, because it's impossible (it cannot change page size, page margins and other DocParameters, because they are not displayed in TRichViewEdit).

But this property is used in ScaleRichView.
So I need to know first, do you use TRichViewEdit or TSRichViewEdit?

Besides, DocParameters are saved/loaded in RVF only if rvfoSaveDocProperties and rvfoLoadDocProperties are included in RichViewEdit.RVFOptions. So they can be lost when transferring document to/from ReportBuilder's ppRichView editor, if these options were not included in ppRichView.RichView.RVFOptions.
Post Reply