PrintInfo Reference > PrintInfo Properties > SettingsMarginTop Property (PrintInfo) |
This property provides access to the top margin in the print Settings blob, allowing you to control the margin setting (in twips) at the top of the page.
PrintInfo.SettingsMarginTop= long
Read/Write at run time. Not available at design time.
The following code will result in a one-inch margin at the top of the printed page:
TDBGrid1.PrintInfo.SettingsMarginTop = 1440