Get Started
Documentation

SetBottomMargin

SetBottomMargin(nPoints)

Set bottom margin sheet

Parameters:

Name Type Description
nPoints number

in points.

Example

Copy code
builder.CreateFile("xlsx");
oWorksheet = Api.GetActiveSheet();
oWorksheet.SetBottomMargin(25.1);
oBottomMargin = oWorksheet.GetBottomMargin();
oWorksheet.GetRange("A1").SetValue("Bottom margin: " + oBottomMargin  + " mm");
builder.SaveFile("xlsx", "SetBottomMargin.xlsx");
builder.CloseFile();

Resulting document