Other events and properties
Less than 1 minute
Other events and properties of TPrintDBGridEh
propert TPrintDBGridEh.Options
The property is of type TPrintDBGridEhOptions and can contain the following values:
pghFitGridToPageWidth
Reduce the print scale so that the width of the grid was reduced in width of the page.
pghColored
Keep color printing. If the value is not contained in the property, the grid will be printed in black and white.
pghRowAutoStretch
Stretch row height to accommodate all the text in the cell text wraps to a new line.
pghFitingByColWidths
If the property is set pghFitGridToPageWidth, instead of the total scaling when printing decreases the width of columns.
pghOptimalColWidths
Fit the column width to fit the contents of each cell within the same line of text.
propert TPrintDBGridEh.PrintFontName
If you set this property, it will be used for printing the specified font property, instead of the font specified in DBGridEh.
propert TPrintDBGridEh.Title
Title Grid. Title is printed on each page of the total cap for all the columns of the grid.
propert TPrintDBGridEh.OnBeforePrint
Event is called after printing a grid. In the event you can set a property of certain grid to print it more "correct".
propert TPrintDBGridEh.OnAfterPrint
Event is called after printing a grid. In the event you can return a property of the grid established in the event OnBeforePrint.
propert TPrintDBGridEh.OnPrinterSetupDialog
The event is called when the request for the opening of the press DIAL. If the event is not set, it uses the method TPrintDBGridEh.PrinterSetupDialogPreview.
