SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the height of the top margin.
Get
VB.NET | height = object.TopMargin As Single |
VB | height = object.TopMargin As Single |
C#.NET | float height = object.TopMargin; |
VC++ | float height = object->TopMargin; float height = object->GetTopMargin(); |
C | HRESULT object->get_TopMargin(float* height); |
Put
VB.NET | object.TopMargin = height As Single |
VB | object.TopMargin = height As Single |
C#.NET | float object.TopMargin = height; |
VC++ | float object->TopMargin = height; void object->PutTopMargin(float height); |
C | HRESULT object->put_TopMargin(float height); |
object
height
Defines the height of the top margin. The distance is specified in inches.
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.
See Also SftPrintPreview Object | Object Hierarchy