SftPrintPreview/OCX 1.0

SftPrintPreview.TopMargin Property

Softel vdm, Inc.

Defines the height of the top margin.

Syntax       

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);

Delphi

height := object.TopMargin   : Single;

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);

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.


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com