Professional Documents
Culture Documents
id=1466
Category: VCL
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, RichEdit, RxRichEd, ExtCtrls, Printers;
type
TPageOffset = record
mStart,
mEnd: Integer;
rendRect: TRect;
end;
TForm1 = class(TForm)
Panel1: TPanel;
Editor: TRxRichEdit;
PrintBtn: TButton;
PreviewBtn: TButton;
CloseBtn: TButton;
procedure PrintBtnClick(Sender: TObject);
procedure PreviewBtnClick(Sender: TObject);
procedure CloseBtnClick(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
uses Unit2;
{$R *.dfm}
1 of 4 1/18/2013 9:15 AM
...print a rtf file and specify a page range to be printed? http://www.swissdelphicenter.ch/torry/printcode.php?id=1466
2 of 4 1/18/2013 9:15 AM
...print a rtf file and specify a page range to be printed? http://www.swissdelphicenter.ch/torry/printcode.php?id=1466
3 of 4 1/18/2013 9:15 AM
...print a rtf file and specify a page range to be printed? http://www.swissdelphicenter.ch/torry/printcode.php?id=1466
end.
printed from
www.swissdelphicenter.ch
developers knowledge base
4 of 4 1/18/2013 9:15 AM