GetLeftMargin
function GetLeftMargin(): number
Description
Returns the left margin of the sheet.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var nLeftMargin = oWorksheet.GetLeftMargin();
oWorksheet.GetRange("A1").SetValue("Left margin: " + nLeftMargin + " mm");