var instance = new GC.Spread.Sheets.Print.PrintInfo(); var returnValue; // Type: any returnValue = instance.margin(value, value.top, value.bottom, value.left, value.right, value.header, value.footer);
function margin( value : Object, (optional) value.top : number, (optional) value.bottom : number, (optional) value.left : number, (optional) value.right : number, (optional) value.header : number, (optional) value.footer : number ) : any;
Parameters
- value
- The margins for printing.
- value.top
- The top margin, in hundredths of an inch.
- value.bottom
- bottom The bottom margin, in hundredths of an inch.
- value.left
- left The left margin, in hundredths of an inch.
- value.right
- right The right margin, in hundredths of an inch.
- value.header
- header The header offset, in hundredths of an inch.
- value.footer
- footer The footer offset, in hundredths of an inch.
Return Value
If no value is set, returns the margins for printing; otherwise, returns the print setting information.