Just that… Is there any way to programmatically change the width and height of a page?
P.S windows 10, xojo 2016r3
I use ps.SetupString… Works fine to save the margins and the resolution, but it does not work for the size of the page
[code] ps.SetupString = “DoNotAlterThis=SetupString.2” + EndOfLine _
- “ActualHorizontalResolution=72”+ EndOfLine _
- “ActualVerticalResolution=72”+ EndOfLine _
- “MaxHorizontalResolution=72”+ EndOfLine _
- “MaxVerticalResolution=72”+ EndOfLine _
- “MarginLeft=0”+ EndOfLine _
- “MarginRight=0”+ EndOfLine _
- “MarginTop=0”+ EndOfLine _
- “MarginBottom=0”+ EndOfLine _
- “MinMarginLeft=0”+ EndOfLine _
- “MinMarginRight=0”+ EndOfLine _
- “MinMarginTop=0”+ EndOfLine _
- “MinMarginBottom=0”+ EndOfLine _
- “PageSetupFlags=8”+ EndOfLine _
- “DevModeStructureSizePS=5356”+ EndOfLine _
- “DevModeStructurePS=Microsoft Print to PDF”[/code]
@Christian Schmitz … does your plugin handle this?
@Greg O’Lone or @Norman Palardy … Does anyone have any clue about this?