Message 1 of 4
Can't Reset Layout Limits - VBA

Not applicable
12-17-2002
01:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having trouble resetting the limits of a layout created in VBA. I know you can't set the limits unless the margins and background are turned off but even when I turn them off...
ACADPref.LayoutDisplayMargins = False
ACADPref.LayoutDisplayPaper = False
and reset them...
NewLimits(0) = -17
NewLimits(1) = -5.01
NewLimits(2) = 896.81
NewLimits(3) = 569.96
ThisDrawing.Limits = NewLimits
the layout remains the wrong size.
ACADPref.LayoutDisplayMargins = False
ACADPref.LayoutDisplayPaper = False
and reset them...
NewLimits(0) = -17
NewLimits(1) = -5.01
NewLimits(2) = 896.81
NewLimits(3) = 569.96
ThisDrawing.Limits = NewLimits
the layout remains the wrong size.