setMargin Method

Microsoft FrontPage Visual Basic

setMargin Method

Sets the margin settings for a layout cell or cell formatting table.

expression.setMargin(pszType, ival)

expression    Required. An expression that returns an FPLayoutRegion object.

pszType    Required String. Specifies which margin. Can be one of the following String values: "top", "bottom", "left", or "right".

ival    Required Integer. Specifies the width of the margin in pixels. A zero value removes a previously set margin.

Remarks

Use the getMargin method to return the margin settings for a layout cell or cell formatting table.