- Code: Select all
FOnAfterRenderRTF: TNotifyEvent;
...
procedure AfterRenderRTF;
....
property OnAfterRenderRTF: TNotifyEvent read FOnAfterRenderRTF write FOnAfterRenderRTF;
IN function PaintRichText After
if Range.chrg.cpMin <> -1 then
Inc(Result);
- Code: Select all
RestoreDC(FCanvas.Handle, SaveIndex);
AfterRenderRTF;
SaveIndex := SaveDC(FCanvas.Handle);
AND
- Code: Select all
procedure TPrintPreview.AfterRenderRTF;
begin
if Assigned(FOnAfterRenderRTF) then
FOnAfterRenderRTF(Self);
end;
Is it Correct???
I Think it can util to paint over the RTF file