Ruler in Trichviewedit

General TRichView support forum. Please post your questions here
Post Reply
CoLT

Ruler in Trichviewedit

Post by CoLT »

where i can define a fixed size for the ruler ??
Guest

Post by Guest »

I've add an public procedure to set the margins and page size

procedure TRVRuler.SetRVEMargins(ToPageSize,ToLeft,ToRight,ToTop,ToBottom:Extended);
begin
self.PageWidth := ToPageSize;
self.LeftMargin := ToLeft;
self.RightMargin := ToRight;
self.TopMargin := ToTop;
self.BottomMargin := ToBottom;
DoMarginChanged;
end;
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, what do you mean by "fixed size"?
Post Reply