xls_SET MARGINS
xls_SET MARGINS(reference;sheet;useLeft;left;useRight;right;useTop;top;useBottom;bottom)
Parameter Type Description
reference Longint -> Excel handle
sheet Longint -> Sheet number
useLeft Longint -> 0=do not use, 1=use
left Real -> Left margin in inches
useRight Longint -> 0=do not use, 1=use
right Real -> Right margin in inches
useTop Longint -> 0=do not use, 1=use
top Real -> Top margin in inches
useBottom Longint -> 0=do not use, 1=use
bottom Real -> Bottom margin in inches
The command xls_SET MARGINS sets the margins of the sheet.