Property: PrinterLeftMargin for Settings
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Properties > Property: PrinterLeftMargin for Settings
Property: PrinterLeftMargin for Settings
Specifies the left margin in DIAdem VIEW when DIAdem prints.
Object.PrinterLeftMargin
| Object | Settings Object with this property |
| Object.PrinterLeftMargin | Double with read and write access |
The following example prints the enabled worksheet with the specified margins:
| VBScript | Python |
View.Settings.PrinterRatio = FALSE View.Settings.PrinterTopMargin = 5 View.Settings.PrinterBottomMargin = 5 View.Settings.PrinterLeftMargin = 5 View.Settings.PrinterRightMargin = 5 Call View.ActiveSheet.Print()