|
TRVPrint.MakePreview |
Top Previous Next |
|
Draws print preview of the pgNo-th page to bitmap bmp. procedure MakePreview(pgNo: Integer; bmp: TBitmap); There is more convenient way to display print preview: TRVPrintPreview component. pgNo must be in range from 1 to PagesCount. This method changes size of bitmap to (Preview100PercentWidth x Preview100PercentHeight) and draws print preview of the pgNo-th page into it. You need to assign source document for printing (AssignSource method) and format pages (FormatPages method) before calling this method. See also methods: See also properties: See also events: |