| property LeftWaste: double; |
| This property returns the waste area on the left side of the page that the printer cannot print into. It is a good idea to make sure that the report's margins are greater than or equal to its waste areas. |
| // Don't output in the printer waste regions |
| if MarginLeft < LeftWaste then begin |
| if MarginRight < RightWaste then begin |
| MarginRight := RightWaste; |
| if MarginTop < TopWaste then begin |
| if MarginBottom < BottomWaste then begin |
| MarginBottom := BottomWaste; |
| if (rp1->MarginLeft < rp1->LeftWaste) { |
| rp1->MarginLeft = rp1->LeftWaste; |
| if (rp1->MarginRight < rp1->RightWaste) { |
| rp1->MarginRight = rp1->RightWaste; |
| if (rp1->MarginTop < rp1->TopWaste) { |
| rp1->MarginTop = rp1->TopWaste; |
| if (rp1->MarginBottom < rp1->BottomWaste) { |
| rp1->MarginBottom = rp1->BottomWaste; |
|