Search the Wiki

Viewing 187 to 189 of 408 items

How To…Control Image Export File Naming

Question “How can I control the exported image file names?” Solution This example shows how to use the device’s OnPageReceive event to control the image file names. Download:  ImageDeviceCustomFileNames.zip Sample Delphi Code: uses ppDevice, ppFileUtils, ppImageDevice; procedure TForm1.ppReport1FileDeviceCreate(Sender: TObject); begin // attach handler to page receive event if (ppReport1.FileDevice is TppImageDevice) then ppReport1.FileDevice.OnPageReceive := ehFileDevice_PageReceive;  Full Article…

0

Print

The primary means by which report output is generated is via a call to the Print method of the report object. 1. Print to Screen The following code would cause the Print Preview form to be displayed and the first page of the report to be presented in this form: uses ppTypes; ppReport1.DeviceType := dtScreen;  Full Article…

0

Previewing

The most high-profile and often-used form of report output is contained in the Print Preview form. The Print Preview form is launched automatically when the Print method of report component is called (and the DeviceType property has been set to ‘Screen’). The Print Preview form is pictured below. The user can preview any page of  Full Article…

0