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