|
|
|
|
|
SftPrintPreview.TopMargin Property |
Defines the height of the top margin.
Syntax
|
VB.NET |
height = object.TopMargin As Single |
||
|
VB |
height = object.TopMargin As Single |
||
|
C#.NET |
float height = object.TopMargin; |
||
|
VC++ |
float height = object->TopMargin;
|
||
|
C |
HRESULT object->get_TopMargin(float* height); |
||
|
Delphi |
height := object.TopMargin : Single; |
||
|
VB.NET |
object.TopMargin = height As Single |
||
|
VB |
object.TopMargin = height As Single |
||
|
C#.NET |
float object.TopMargin = height; |
||
|
VC++ |
float object->TopMargin = height;
|
||
|
C |
HRESULT object->put_TopMargin(float height); |
||
|
Delphi |
object.TopMargin := height : Single; |
||
object
A SftPrintPreview object.
height
Defines the height of the top margin. The distance is specified in inches.
Comments
The TopMargin property defines the height of the top margin.
The top margin is the distance between the top edge of the paper and the top of the printed area. The TopMargin property does not affect the headers, as these are positioned using the HeaderMargin property.
Left, top, right and bottom margins can be defined using the LeftMargin, TopMargin, RightMargin and BottomMargin properties.