Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.TopMargin Property

Defines the height of the top margin.

Syntax

Get

VB.NETheight = object.TopMargin As Single
VBheight = object.TopMargin As Single
C#.NETfloat height = object.TopMargin;
VC++float height = object->TopMargin;
float height = object->GetTopMargin();
CHRESULT object->get_TopMargin(float* height);

Put

VB.NETobject.TopMargin = height As Single
VBobject.TopMargin = height As Single
C#.NETfloat object.TopMargin = height;
VC++float object->TopMargin = height;
void object->PutTopMargin(float height);
CHRESULT object->put_TopMargin(float height);

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.

See Also SftPrintPreview Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2025 Softel vdm, Inc.