trichview.com

trichview.support




Re: Property Orientation in RVEdit ?


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/04/2004 20:42:21


Process OnSaveRTFExtra event:


procedure TForm3.RichViewEdit1SaveRTFExtra(Sender: TCustomRichView;

  Area: TRVRTFSaveArea; Obj: TObject; Index1, Index2: Integer;

  InStyleSheet: Boolean; var RTFCode: String);

begin

  if (Area=rv_rtfs_Doc) and (Printer.Orientation=poLandscape) then

    RTFCode := '\landscape';

end;


It's possible to store margins and plain text header/footer in the same way.

But it's impossible to read them without modifying RV source code.


>

> I want to export a RVEdit Object into RTF (SaveAs) and I want to configure

> the orientation (landscape). Is it possible. I know that it works with

printing

> but how about saving ?

>

> Thanks





Powered by ABC Amber Outlook Express Converter